diff --git a/modules/common.nix b/modules/common.nix index 35f8826..e0171dc 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -122,12 +122,12 @@ firefox = { executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox"; profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; - extraArgs = [ - # Required for U2F USB stick - "--ignore=private-dev" - # Enable system notifications - "--dbus-user.talk=org.freedesktop.Notifications" - ]; + extraArgs = [ + # Required for U2F USB stick + "--ignore=private-dev" + # Enable system notifications + "--dbus-user.talk=org.freedesktop.Notifications" + ]; }; chromium = { executable = "${pkgs.lib.getBin pkgs.ungoogled-chromium}/bin/chromium"; @@ -135,7 +135,7 @@ }; }; }; -# Yubikey Settings + # Yubikey Settings services.yubikey-agent.enable = true; -security.pam.u2f.enable =true ; + security.pam.u2f.enable = true; } diff --git a/rebuild-nix-system.sh b/rebuild-nix-system.sh index 8dcb5bd..2c7c09d 100755 --- a/rebuild-nix-system.sh +++ b/rebuild-nix-system.sh @@ -52,6 +52,7 @@ echo "NixOS Rebuilding configuration for host: $NIXOS_HOST..." nix flake check 2>&1 | grep -i --color error && exit 1 # Rebuild the system +mkdir -p logs sudo nixos-rebuild switch --flake ./#$NIXOS_HOST &>logs/nixos-switch.log || (cat logs/nixos-switch.log | grep --color error && exit 1) # Get current generation metadata