nixos-config/laptop/config/default.nix

24 lines
653 B
Nix
Raw Normal View History

2022-01-06 22:16:45 -05:00
{ ... }:
2022-01-16 23:05:12 -05:00
let hashedPassword = "$6$y3eb1phxFWnParRT$w1LNfxJ2ByHoiBa5ywh4STGuIK/r4Tnyxx2Xe/nlovrE6LuuLAVdKRFAroUTtUI/d2BNGI9ErjZ2z2Dl7w/t00";
in {
2022-01-15 14:55:25 -05:00
imports = [
./hardware-configuration.nix
2022-03-03 13:01:09 -05:00
./battery.nix
2022-01-15 14:55:25 -05:00
];
2022-01-06 22:17:01 -05:00
networking.hostName = "kiana-laptop";
2022-01-16 23:05:12 -05:00
boot.loader.grub.useOSProber = true;
hardware.enableRedistributableFirmware = true;
2022-01-25 20:28:37 -05:00
hardware.enableAllFirmware = true;
2022-01-16 23:05:12 -05:00
# Passwords
users.users.kiana = { inherit hashedPassword; };
users.users.root = { inherit hashedPassword; };
# Networking
networking.wireless.enable = false;
networking.networkmanager.enable = true;
users.users.kiana.extraGroups = [ "networkmanager" ];
2022-01-06 22:17:01 -05:00
}