Added desktop configuration base

This commit is contained in:
Nickiel12 2023-02-25 17:19:34 -08:00
parent d88f67da4e
commit 439b74cb40
2 changed files with 51 additions and 0 deletions

View file

@ -47,6 +47,29 @@
} }
]; ];
}; };
NicksNixDesktop = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
{
networking.hostName = "NicksNixDesktop";
}
kmonad.nixosModules.default
./hosts/desktop
./hosts/configuration.nix
./modules/kmonad.nix
home-manager.nixosModules.home-manager {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit user; };
users.${user} = import ./users/${user}.nix;
};
}
];
};
}; };
}; };
} }

28
hosts/desktop/default.nix Normal file
View file

@ -0,0 +1,28 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
];
hardware.bluetooth.enable = true;
time.hardwareClockInLocalTime = true;
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
devices = [ "nodev" ];
efiSupport = true;
enable = true;
version = 2;
useOSProber = true;
extraEntries = ''
'';
};
};
}