From ed04bcfb4ed49ff56a5212ba6802bacf9297554f Mon Sep 17 00:00:00 2001 From: Rosa Date: Sat, 28 Mar 2026 09:50:06 -0400 Subject: i messed up with nixos-anywhere --- hosts/canadian-government-system/default.nix | 8 +++++++- hosts/canadian-government-system/hardware-configuration.nix | 8 +++++++- modules/nonfree.nix | 12 +++++++----- modules/user/desktop/sessions/sway.nix | 3 ++- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/hosts/canadian-government-system/default.nix b/hosts/canadian-government-system/default.nix index 4eb8bd6..3086ec9 100644 --- a/hosts/canadian-government-system/default.nix +++ b/hosts/canadian-government-system/default.nix @@ -5,5 +5,11 @@ security.doas.enable = true; services.openssh.enable = true; system.stateVersion = "26.05"; - users.users.rosa.enable = true; + users.users = { + root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICcEZBikGjnGveif3TsfBkWCl1Qrw0yZoOAn/LxS8oAa rosa@lust" + ]; + + rosa.enable = true; + }; } diff --git a/hosts/canadian-government-system/hardware-configuration.nix b/hosts/canadian-government-system/hardware-configuration.nix index de63775..88db163 100644 --- a/hosts/canadian-government-system/hardware-configuration.nix +++ b/hosts/canadian-government-system/hardware-configuration.nix @@ -1,4 +1,10 @@ -{ config, lib, modulesPath, pkgs, ... }: +{ + config, + lib, + modulesPath, + pkgs, + ... +}: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ diff --git a/modules/nonfree.nix b/modules/nonfree.nix index 5d24f75..ebd332c 100644 --- a/modules/nonfree.nix +++ b/modules/nonfree.nix @@ -1,8 +1,10 @@ { config, lib, ... }: { - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "steam" - "steam-run" - "steam-unwrapped" - ]; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "steam" + "steam-run" + "steam-unwrapped" + ]; } diff --git a/modules/user/desktop/sessions/sway.nix b/modules/user/desktop/sessions/sway.nix index e111518..29fc587 100644 --- a/modules/user/desktop/sessions/sway.nix +++ b/modules/user/desktop/sessions/sway.nix @@ -198,7 +198,8 @@ "${mod}+Return" = "exec ${terminal}"; "${mod}+R" = "exec ${pkgs.fuzzel}/bin/fuzzel"; "${mod}+B" = "exec ${pkgs.librewolf}/bin/librewolf"; - "${mod}+Shift+S" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" ~/Pictures/screenshot.png"; + "${mod}+Shift+S" = + "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" ~/Pictures/screenshot.png"; "${mod}+Alt+L" = "exec ${pkgs.swaylock}/bin/swaylock"; "${mod}+Alt+Q" = "exit"; "${mod}+Q" = "kill"; -- cgit v1.3.1