Fix laptop firmware issues
This commit is contained in:
parent
b3ab35d719
commit
d712da4415
|
@ -1,8 +1,7 @@
|
||||||
{ config, pkgs, nur,
|
{ config, pkgs, nur,
|
||||||
nixpkgs, # The flake's input version of nixpkgs
|
nixpkgs, # The flake's input version of nixpkgs
|
||||||
... }:
|
... }:
|
||||||
let hashedPassword = "$6$lokU/kizIJ/HwEI8$N6c80K0.VHkFBaOMcS8Bc1Fz5bx8qqTRH8brf0.duTOkf4Mja90bLwki8IVCBVpHnj7WqEkF4.CtZA6WczeqQ1";
|
{
|
||||||
in {
|
|
||||||
nix.package = pkgs.nixFlakes;
|
nix.package = pkgs.nixFlakes;
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
@ -41,10 +40,6 @@ in {
|
||||||
description = "Kiana Sheibani";
|
description = "Kiana Sheibani";
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
inherit hashedPassword;
|
|
||||||
};
|
|
||||||
users.users.root = {
|
|
||||||
inherit hashedPassword;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
let hashedPassword = "$6$HYibiGhDN.JgLtw6$cecU7NjfumTUJSkFNFQG4uVgdd3tTPLGxK0zHAwYn3un/V43IUlyVBNKoRMLCQk65RckbD/.AjsLFVFKUUHVA/";
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "kiana-desktop";
|
networking.hostName = "kiana-desktop";
|
||||||
|
|
||||||
|
# Passwords
|
||||||
|
users.users.kiana = { inherit hashedPassword; };
|
||||||
|
users.users.root = { inherit hashedPassword; };
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
let hashedPassword = "$6$y3eb1phxFWnParRT$w1LNfxJ2ByHoiBa5ywh4STGuIK/r4Tnyxx2Xe/nlovrE6LuuLAVdKRFAroUTtUI/d2BNGI9ErjZ2z2Dl7w/t00";
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "kiana-laptop";
|
networking.hostName = "kiana-laptop";
|
||||||
|
|
||||||
|
boot.loader.grub.useOSProber = true;
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
# Passwords
|
||||||
|
users.users.kiana = { inherit hashedPassword; };
|
||||||
|
users.users.root = { inherit hashedPassword; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue