diff --git a/hosts/earth/configuration.nix b/hosts/earth/configuration.nix index 112051d..7ed0028 100644 --- a/hosts/earth/configuration.nix +++ b/hosts/earth/configuration.nix @@ -13,6 +13,14 @@ ./hardware-configuration.nix ./nvidia.nix ../../env/wayland + ({ + options, + lib, + ... + }: + lib.mkIf (options ? virtualisation.memorySize) { + users.users.zack.password = "foo"; + }) ]; # Bootloader. diff --git a/modules/shell/zsh/aliases.nix b/modules/shell/zsh/aliases.nix index 9edb243..da28c8c 100644 --- a/modules/shell/zsh/aliases.nix +++ b/modules/shell/zsh/aliases.nix @@ -32,6 +32,7 @@ with pkgs; { g = "git"; n = "nix"; r = "rebuild"; + vm = "nixos-rebuild build-vm --flake ~/nixos#earth"; mnt = "udisksctl mount -b"; umnt = "udisksctl unmount -b"; burn = "pkill -9";