mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move roles to user imports, not perfect but best so far; remove unused old code
This commit is contained in:
parent
c844c5767a
commit
e8d7bcda16
2 changed files with 1 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, inputs, config, username, host, ...}:
|
||||
{
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ] ++ [ ./../../roles ];
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
|
|
@ -22,12 +22,6 @@
|
|||
};
|
||||
|
||||
users.users.${username} = {
|
||||
# extraGroups = if (config.virtualisation.docker.enable == true) then
|
||||
# [ "networkmanager" "wheel" "docker" ]
|
||||
# else
|
||||
# [ "networkmanager" "wheel" ];
|
||||
# if (config.virtualisation.docker.enable = true) then
|
||||
# extraGroups = [ "docker" ];
|
||||
isNormalUser = true;
|
||||
description = "${username}";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue