Refactor configs
This commit is contained in:
parent
84f7bc915f
commit
9710cae748
12 changed files with 125 additions and 128 deletions
|
|
@ -3,7 +3,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
usr = config.constants.userName;
|
||||
userName = config.constants.userName;
|
||||
in {
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
|
|
@ -11,7 +11,7 @@ in {
|
|||
keyboard.qmk.enable = true;
|
||||
openrazer = {
|
||||
enable = true;
|
||||
users = [usr];
|
||||
users = [userName];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ in {
|
|||
udev.packages = [pkgs.via];
|
||||
};
|
||||
|
||||
users.users.${usr}.extraGroups = ["adbusers" "cdrom"];
|
||||
users.users.${userName}.extraGroups = ["adbusers" "cdrom"];
|
||||
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue