diff --git a/flake.nix b/flake.nix index e87ed69..e4ce455 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ ... }@inputs: { - nixosConfigurations.rhea-laptop = nixpkgs.lib.nixosSystem { + nixosConfigurations.etwas-laptop = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; inherit spicetify-nix; diff --git a/home/default.nix b/home/default.nix index 150a9a3..678ce3c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -13,6 +13,12 @@ inputs.spicetify-nix.nixosModules.default ]; + # Configure them here, because here I still have the system config.age. ... + home-manager.users.etwas.services.restic.backups.localbackup = { + passwordFile = config.age.secrets.restic-password.path; + environmentFile = config.age.secrets.restic-s3-key.path; + }; + home-manager = { useUserPackages = true; # useGlobalPkgs = true; @@ -23,12 +29,12 @@ inherit agenix-rekey; }; - users.rhea = { + users.etwas = { # The home.stateVersion option does not have a default and must be set home = { stateVersion = "24.05"; - username = "rhea"; - homeDirectory = "/home/rhea"; + username = "etwas"; + homeDirectory = "/home/etwas"; }; catppuccin = { @@ -52,7 +58,7 @@ }; }; - users.users.rhea = { + users.users.etwas = { isNormalUser = true; description = "etwas"; extraGroups = [ @@ -66,5 +72,5 @@ shell = pkgs.zsh; }; - nix.settings.allowed-users = [ "rhea" ]; + nix.settings.allowed-users = [ "etwas" ]; } diff --git a/home/wm/hyprland.nix b/home/wm/hyprland.nix index f21e572..23789db 100644 --- a/home/wm/hyprland.nix +++ b/home/wm/hyprland.nix @@ -174,7 +174,7 @@ "$mod SHIFT, down, movewindow, d" # make Screenshot with Mod + Shift + S - "$mod SHIFT, S, exec, ${hyprshot} -m region -o /home/rhea/Pictures/screenshots" + "$mod SHIFT, S, exec, ${hyprshot} -m region -o /home/etwas/Pictures/screenshots" "$mod, 0, workspace, 10" "$mod SHIFT, 0, movetoworkspacesilent, 10" diff --git a/modules/essentials/environment.nix b/modules/essentials/environment.nix index 3ded54b..cefed49 100644 --- a/modules/essentials/environment.nix +++ b/modules/essentials/environment.nix @@ -49,7 +49,7 @@ ]; nix.extraOptions = '' - trusted-users = root rhea + trusted-users = root etwas ''; programs.dconf.enable = true; diff --git a/modules/misc_hardware/networking.nix b/modules/misc_hardware/networking.nix index 71bbce1..48ac545 100644 --- a/modules/misc_hardware/networking.nix +++ b/modules/misc_hardware/networking.nix @@ -1,7 +1,7 @@ { lib, pkgs, ... }: { networking = { - hostName = "rhea-laptop"; + hostName = "etwas-laptop"; # Enable networking networkmanager = { diff --git a/modules/utils/auth.nix b/modules/utils/auth.nix index c807f0d..8e3720d 100644 --- a/modules/utils/auth.nix +++ b/modules/utils/auth.nix @@ -13,7 +13,7 @@ settings = { default_session = { command = "${pkgs.tuigreet}/bin/tuigreet -t -g \"Hello there (^^)/\" --cmd 'Hyprland'"; - user = "rhea"; + user = "etwas"; }; }; };