diff --git a/flake.nix b/flake.nix index c37cb0ad..42527970 100644 --- a/flake.nix +++ b/flake.nix @@ -39,8 +39,8 @@ "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; desktop = "hyprland"; theme = "gruvbox"; }; "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "gruvbox"; }; "albert@nixos-rpi4-01" = libx.mkHome { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; - "albert@nixos-rpi4-02" = libx.mkHome { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; - "albert@nixos-rpi4-03" = libx.mkHome { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; + "albert@nixos-rpi4-02" = libx.mkHome { hostname = "nixos-rpi4-02"; platform = "aarch64-linux"; }; + "albert@nixos-rpi4-03" = libx.mkHome { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; }; }; }; } \ No newline at end of file diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index 8eb30bf0..05e63b4f 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -44,15 +44,16 @@ }; bashrcExtra = '' sops-edit() { + nix-shell nix-shell -p sops --run "sops $1" } sops-update() { + nix-shell nix-shell -p sops --run "sops updatekeys $1" } nix-clean-all() { - sudo nix-channel --update sudo nix-env -u --always sudo nix-collect-garbage -d } diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index ab907b0d..2748653e 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -4,6 +4,7 @@ let in { # Define a user account. imports = [ ] ++ lib.optional (builtins.isString desktop) ./desktop.nix; + users.mutableUsers = false; users.users.albert = { isNormalUser = true; description = "Albert J. Copeland";