username cleanup :3
This commit is contained in:
parent
5406b7b390
commit
42695380a1
1 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,8 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) getExe getExe';
|
inherit (lib) getExe getExe';
|
||||||
|
|
||||||
|
inherit (config.myOptions.other.system) username;
|
||||||
in {
|
in {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -31,7 +33,7 @@ in {
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
users.users.${config.myOptions.other.system.username} = {
|
users.users.${username} = {
|
||||||
extraGroups = [ "video" ];
|
extraGroups = [ "video" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -141,7 +143,6 @@ in {
|
||||||
programs = {
|
programs = {
|
||||||
agenix.enable = true;
|
agenix.enable = true;
|
||||||
nh = let
|
nh = let
|
||||||
inherit (config.myOptions.other.system) username;
|
|
||||||
home = config.home-manager.users.${username}.home.homeDirectory;
|
home = config.home-manager.users.${username}.home.homeDirectory;
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -170,7 +171,6 @@ in {
|
||||||
land = {
|
land = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraSettings = let
|
extraSettings = let
|
||||||
inherit (config.myOptions.other.system) username;
|
|
||||||
hmCfg = config.home-manager.users.${username};
|
hmCfg = config.home-manager.users.${username};
|
||||||
swww = getExe inputs.nixpkgs-wayland.packages.${pkgs.system}.swww;
|
swww = getExe inputs.nixpkgs-wayland.packages.${pkgs.system}.swww;
|
||||||
nix_wallpaper = pkgs.fetchurl {
|
nix_wallpaper = pkgs.fetchurl {
|
||||||
|
|
Loading…
Reference in a new issue