move displays to hardware section
This commit is contained in:
parent
e4bbcbb7c5
commit
5558ffce13
8 changed files with 31 additions and 37 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{ user
|
||||
, name
|
||||
, hyprland
|
||||
, laptop ? false
|
||||
, work ? false
|
||||
, displays ? []
|
||||
, userName
|
||||
|
|
@ -33,12 +32,7 @@
|
|||
../system/${name}/home.nix
|
||||
];
|
||||
|
||||
roles.laptop.enable = laptop;
|
||||
roles.work.enable = work;
|
||||
roles.personal.enable = !work;
|
||||
displays = {
|
||||
enable = true;
|
||||
displays = displays;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ name:
|
|||
, hyprland
|
||||
, laptop ? false
|
||||
, work ? false
|
||||
, displays ? []
|
||||
, userName
|
||||
, ...
|
||||
}:
|
||||
|
|
@ -30,6 +29,6 @@ nixpkgs.lib.nixosSystem rec {
|
|||
hyprland.homeManagerModules.default
|
||||
];
|
||||
}
|
||||
(import ./home.nix { inherit user userName name hyprland laptop work displays; })
|
||||
(import ./home.nix { inherit user userName name hyprland laptop work; })
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,5 +81,15 @@ with lib;
|
|||
plugins = [ pkgs.networkmanager-openvpn ];
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
storageDriver = "btrfs";
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue