My NixOS config Part 3: Flake-Parts Crusaders nix.ladas552.me
hjem nix nixos impermanence flake-parts nvfetcher niri noctalia

trying to connect via ssh to NixWool

Ladas552 cbc2a03a 17fc4a61

+5 -4
+1 -3
modules/hosts/NixWool/imports.nix
··· 2 2 let 3 3 custom.meta = { 4 4 hostname = "NixWool"; 5 - self = "/persist/home/${config.custom.meta.user}/Projects/my_repos/Flake-Ocean"; 5 + self = "github:Ladas552/Flake-Ocean"; 6 6 isTermux = false; 7 7 norg = null; 8 8 }; ··· 16 16 { inherit custom; } 17 17 NixWool 18 18 # Modules 19 - ## Games 20 19 cache 21 20 general 22 21 imp ··· 50 49 { inherit custom; } 51 50 direnv 52 51 git 53 - nvf 54 52 fastfetch 55 53 ]; 56 54 }
+1 -1
modules/hosts/NixWool/install.sh
··· 39 39 sgdisk -n3:0:0 -t3:BF01 -c3:"ZROOT" /dev/sda 40 40 41 41 # Format the boot partition 42 - mkfs.vfat -F32 /dev/sda1 42 + mkfs.vfat -n NIXBOOT -F32 /dev/sda1 43 43 44 44 # Swap 45 45 mkswap /dev/sda2
+3
modules/nixosModules/Users/ladas552.nix
··· 13 13 hashedPasswordFile = config.sops.secrets."mystuff/host_pwd".path; 14 14 openssh.authorizedKeys.keys = [ 15 15 "ssh-ed25520 AAAAC3NzaC1lZDI1NTE5AAAAIPiFWLpIrKZ1+8PPSegYpNrRaPlE4t7iVUnHucvWQJJx ladas552@NixPort" 16 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPiFWLpIrKZ1+8PPSegYpNrRaPlE4t7iVUnHucvWQJJx ladas552@NixToks-2024-06-25" 17 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJOZaAO4vfV5kiLiHrrKTO8Y/YLVi72e/918YfWdgQBJ u0_a595@localhost" 18 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEyzumytf6gU/PgXAqlKTMASUg3NJbdq4weMfnxZJmEG u0_a189@localhost" 16 19 ]; 17 20 }; 18 21 nix.settings.trusted-users = [ "ladas552" ];