From 0e838f14cf8e276c6636eb8e769eec96f8e6e6d3 Mon Sep 17 00:00:00 2001 From: zackartz Date: Fri, 1 Mar 2024 12:02:57 -0500 Subject: [PATCH] 83 current 2024-03-01 12:02:53 24.05.20240228.9099616 6.6.18 * --- hosts/earth/configuration.nix | 8 ++++++++ modules/shell/zsh/aliases.nix | 1 + 2 files changed, 9 insertions(+) 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";