Configure desktop

This commit is contained in:
Elnu 2023-01-12 18:49:45 -08:00
parent 0461a90ff8
commit 58c1114531
6 changed files with 119 additions and 0 deletions

View file

@ -9,6 +9,33 @@ let
lib = nixpkgs.lib;
in
{
desktop = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
./desktop
./configuration.nix
./desktop.nix
{
boot.loader.grub.gfxmodeEfi = "1920x1080";
networking.hostName = "${user}";
}
home-manager.nixosModules.home-manager {
home-manager = {
useUserPackages = true;
extraSpecialArgs = { inherit user; };
users.${user} = {
imports = [
(import ./home.nix)
(import ./desktop/home.nix)
];
};
};
}
];
};
x220 = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };