tangled
alpha
login
or
join now
ladas552.me
/
Flake-ocean
0
fork
atom
My NixOS config Part 3: Flake-Parts Crusaders
nix.ladas552.me
hjem
nix
nixos
impermanence
flake-parts
nvfetcher
niri
noctalia
0
fork
atom
overview
issues
pulls
pipelines
trying to connect via ssh to NixWool
Ladas552
3 weeks ago
cbc2a03a
17fc4a61
+5
-4
3 changed files
expand all
collapse all
unified
split
modules
hosts
NixWool
imports.nix
install.sh
nixosModules
Users
ladas552.nix
+1
-3
modules/hosts/NixWool/imports.nix
···
2
let
3
custom.meta = {
4
hostname = "NixWool";
5
-
self = "/persist/home/${config.custom.meta.user}/Projects/my_repos/Flake-Ocean";
6
isTermux = false;
7
norg = null;
8
};
···
16
{ inherit custom; }
17
NixWool
18
# Modules
19
-
## Games
20
cache
21
general
22
imp
···
50
{ inherit custom; }
51
direnv
52
git
53
-
nvf
54
fastfetch
55
];
56
}
···
2
let
3
custom.meta = {
4
hostname = "NixWool";
5
+
self = "github:Ladas552/Flake-Ocean";
6
isTermux = false;
7
norg = null;
8
};
···
16
{ inherit custom; }
17
NixWool
18
# Modules
0
19
cache
20
general
21
imp
···
49
{ inherit custom; }
50
direnv
51
git
0
52
fastfetch
53
];
54
}
+1
-1
modules/hosts/NixWool/install.sh
···
39
sgdisk -n3:0:0 -t3:BF01 -c3:"ZROOT" /dev/sda
40
41
# Format the boot partition
42
-
mkfs.vfat -F32 /dev/sda1
43
44
# Swap
45
mkswap /dev/sda2
···
39
sgdisk -n3:0:0 -t3:BF01 -c3:"ZROOT" /dev/sda
40
41
# Format the boot partition
42
+
mkfs.vfat -n NIXBOOT -F32 /dev/sda1
43
44
# Swap
45
mkswap /dev/sda2
+3
modules/nixosModules/Users/ladas552.nix
···
13
hashedPasswordFile = config.sops.secrets."mystuff/host_pwd".path;
14
openssh.authorizedKeys.keys = [
15
"ssh-ed25520 AAAAC3NzaC1lZDI1NTE5AAAAIPiFWLpIrKZ1+8PPSegYpNrRaPlE4t7iVUnHucvWQJJx ladas552@NixPort"
0
0
0
16
];
17
};
18
nix.settings.trusted-users = [ "ladas552" ];
···
13
hashedPasswordFile = config.sops.secrets."mystuff/host_pwd".path;
14
openssh.authorizedKeys.keys = [
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"
19
];
20
};
21
nix.settings.trusted-users = [ "ladas552" ];