Configure desktop
This commit is contained in:
parent
0461a90ff8
commit
58c1114531
6 changed files with 119 additions and 0 deletions
|
@ -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; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue