alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
machines: init ignavia
author
lassulus
date
3 years ago
(Oct 4, 2023, 10:05 PM CEST)
commit
2d6b3e40
2d6b3e407e4a0f529ed0db9f9ca6a64249f344ed
parent
77710545
77710545ff02b0add2e4aad55c6c490b374dcadd
+241
9 changed files
Expand all
Collapse all
Unified
Split
flake.nix
machines
ignavia
facts
retiolum.ed25519_key.pub
retiolum.rsa_key.pub
ssh.id_ed25519.pub
syncthing.pub
nixos
machines
ignavia
config.nix
disk.nix
install.sh
physical.nix
+2
flake.nix
View file
Reviewed
···
23
23
disko.url = "github:nix-community/disko";
24
24
# disko.url = "git+file:/home/lass/src/disko/";
25
25
disko.inputs.nixpkgs.follows = "nixpkgs";
26
26
+
27
27
+
nixos-hardware.url = "github:nixos/nixos-hardware";
26
28
};
27
29
28
30
outputs = inputs@{ self, flake-parts, nixpkgs, clan-core, ... }:
+1
machines/ignavia/facts/retiolum.ed25519_key.pub
View file
Reviewed
···
1
1
+
Ed25519PublicKey = iuu6UcJpUu+72IywGkeGh/PpJJZ9UidbsdTR00JbFQL
+13
machines/ignavia/facts/retiolum.rsa_key.pub
View file
Reviewed
···
1
1
+
-----BEGIN RSA PUBLIC KEY-----
2
2
+
MIICCgKCAgEAx362jbzjyKsPG4zAeZW1mgDWzaBoTz6JpJlN6ycsTLkrAAQrHiCs
3
3
+
Dz6sbE0zkQUcdFFuagqwROrQU81kx663azBAlHHsMs/vkVmbQk/ilXHHOYYbkRUS
4
4
+
zCfBe1JwXNPUyZ+v46IgOuvLLBfO00prcDj69sIqWdRMGAvKqYssSHuelBO3UdMl
5
5
+
7r5nQ+Kc5hOqfHjf1xW7eSL3BsAA1GP/nuHkhUJN4TOKXqlywTxpcJQKI35k1gR/
6
6
+
zCH53qZQ6/GHe6lHEWIjrKdzg51h7cu6UbyfpVN0zoFSY3gcFemRNKk/LI8DxVZs
7
7
+
DjBQCpNVzRkrbmRIS0jTpzwSIvA7O204Z4Z7Q7ocrlFP5gKKT7M+Hk18CU0DIHwp
8
8
+
e5shYBGLPAswmWJQJUyXRyMjS580+ymxw5DRIym2Ogu8w3ztSOxbcWunvLAn9I84
9
9
+
U6/njQxdKHeuCYBqlO1YHOJ+qKvU4HsV3EYjwGvVzxL4XVg24KvQJ4M6QZvjLYfS
10
10
+
oysx64tLBW4hYv4dTA0vLSa9/0zreNKucJRAaHYGw9rC6FZDK3b8AZiNOCSz2tWC
11
11
+
I/C/sw/UgZMev66MHVuO/K6xR5hpi1tW6ONZ3ecFp4N+MS8lUOQrCQ/L6UU58Qgr
12
12
+
AmAP6hM3FM1TCHEOC2jpLcUIHAdLf+xdzdp2ExPZJiMAUeV310i/dlECAwEAAQ==
13
13
+
-----END RSA PUBLIC KEY-----
+1
machines/ignavia/facts/ssh.id_ed25519.pub
View file
Reviewed
···
1
1
+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJjhIyEbkirWJcsuJHwnZx4QcFhIDNGGsMzJOp4lVnQY lass@aergia
+3
machines/ignavia/facts/syncthing.pub
View file
Reviewed
···
1
1
+
NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2
2
2
+
NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2
3
3
+
NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2
+141
nixos/machines/ignavia/config.nix
View file
Reviewed
···
1
1
+
{ self, config, pkgs, ... }:
2
2
+
3
3
+
{
4
4
+
imports = [
5
5
+
../../default.nix
6
6
+
7
7
+
../../2configs/retiolum.nix
8
8
+
../../2configs/exim-retiolum.nix
9
9
+
../../2configs/baseX.nix
10
10
+
../../2configs/pipewire.nix
11
11
+
../../2configs/browsers.nix
12
12
+
../../2configs/programs.nix
13
13
+
../../2configs/network-manager.nix
14
14
+
../../2configs/syncthing.nix
15
15
+
../../2configs/sync/sync.nix
16
16
+
# ../../2configs/games.nix
17
17
+
# ../../2configs/steam.nix
18
18
+
# ../../2configs/wine.nix
19
19
+
../../2configs/fetchWallpaper.nix
20
20
+
../../2configs/yellow-mounts/samba.nix
21
21
+
../../2configs/pass.nix
22
22
+
../../2configs/mail.nix
23
23
+
# ../../2configs/bitcoin.nix
24
24
+
../../2configs/review.nix
25
25
+
../../2configs/dunst.nix
26
26
+
# ../../2configs/print.nix
27
27
+
# ../../2configs/br.nix
28
28
+
# ../../2configs/c-base.nix
29
29
+
# { # autorandrs
30
30
+
# services.autorandr = {
31
31
+
# enable = true;
32
32
+
# profiles = {
33
33
+
# default = {
34
34
+
# fingerprint = {
35
35
+
# eDP = "00ffffffffffff00288931000100000016200104805932780a0dc9a05747982712484c0000000101010101010101010101010101010108700088a1401360c820a300d9870000001ead4a0088a1401360c820a30020c23100001e000000fd0016480f5a1e000a202020202020000000fc0047504431303031480a2020202000cf";
36
36
+
# };
37
37
+
# config = {
38
38
+
# eDP = {
39
39
+
# enable = true;
40
40
+
# primary = true;
41
41
+
# position = "0x0";
42
42
+
# mode = "2560x1600";
43
43
+
# rate = "60.01";
44
44
+
# };
45
45
+
# };
46
46
+
# };
47
47
+
# docked2 = {
48
48
+
# fingerprint = {
49
49
+
# eDP = config.services.autorandr.profiles.default.fingerprint.eDP;
50
50
+
# DisplayPort-8 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c5a8780a070384d4030203500b9882100001af4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000009";
51
51
+
# DisplayPort-7 = "00ffffffffffff0020a32f00010000000c190103807341780acf74a3574cb02309484c21080081c0814081800101010101010101010104740030f2705a80b0588a00501d7400001e023a801871382d40582c4500501d7400001e000000fc00484953454e53450a2020202020000000fd00324b0f451e000a2020202020200172020333714f5f5e5d01020400101113001f2021222909070715075057070083010000e200f96d030c002000183c200060010203662150b051001b304070360056005300001e011d8018711c1620582c2500c48e2100009e011d007251d01e206e285500c48e2100001800000000000000000000000000000000000000000000ea";
52
52
+
# };
53
53
+
# config = {
54
54
+
# DisplayPort-7 = {
55
55
+
# enable = true;
56
56
+
# position = "2560x0";
57
57
+
# mode = "1920x1080";
58
58
+
# rate = "60.00";
59
59
+
# };
60
60
+
# DisplayPort-8 = config.services.autorandr.profiles.docked1.config.DisplayPort-1;
61
61
+
# eDP = config.services.autorandr.profiles.docked1.config.eDP;
62
62
+
# };
63
63
+
# };
64
64
+
# docked1 = {
65
65
+
# fingerprint = {
66
66
+
# eDP = config.services.autorandr.profiles.default.fingerprint.eDP;
67
67
+
# DisplayPort-1 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c000000000000000000000000000000000000f4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000040";
68
68
+
# };
69
69
+
# config = {
70
70
+
# DisplayPort-1 = {
71
71
+
# enable = true;
72
72
+
# primary = true;
73
73
+
# position = "0x0";
74
74
+
# mode = "2560x1440";
75
75
+
# rate = "165.08";
76
76
+
# };
77
77
+
# eDP = config.services.autorandr.profiles.default.config.eDP // {
78
78
+
# primary = false;
79
79
+
# position = "640x1440";
80
80
+
# };
81
81
+
# };
82
82
+
# };
83
83
+
# docked1_hack = {
84
84
+
# fingerprint = {
85
85
+
# eDP = config.services.autorandr.profiles.default.fingerprint.eDP;
86
86
+
# HDMI-A-0 = "00ffffffffffff0010ac31d14c3346300f20010380462878ea26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030901ee63c000a20202020202001db020346f14d030212110113042f141f05103f2309070783010000e200ea67030c001000383c67d85dc4017888006d1a0000020b3090e607622c622ce305c000e606050162622c40e7006aa0a0675008209804b9882100001a6fc200a0a0a05550302035001d4e3100001a000000000000000000000000000000000000000000fc";
87
87
+
# };
88
88
+
# config = {
89
89
+
# HDMI-A-0 = {
90
90
+
# enable = true;
91
91
+
# primary = true;
92
92
+
# position = "0x0";
93
93
+
# mode = "2560x1440";
94
94
+
# rate = "165.08";
95
95
+
# };
96
96
+
# eDP = config.services.autorandr.profiles.default.config.eDP // {
97
97
+
# primary = false;
98
98
+
# position = "640x1440";
99
99
+
# };
100
100
+
# };
101
101
+
# };
102
102
+
# };
103
103
+
# };
104
104
+
# }
105
105
+
];
106
106
+
107
107
+
system.stateVersion = "23.11";
108
108
+
109
109
+
krebs.build.host = {
110
110
+
name = "ignavia";
111
111
+
nets.retiolum = {
112
112
+
tinc.port = 655;
113
113
+
aliases = [ "ignavia.r" ];
114
114
+
ip4.addr = "10.243.255.255";
115
115
+
ip6.addr = "42::ffff";
116
116
+
};
117
117
+
};
118
118
+
119
119
+
programs.adb.enable = true;
120
120
+
121
121
+
hardware.bluetooth = {
122
122
+
enable = true;
123
123
+
powerOnBoot = true;
124
124
+
};
125
125
+
hardware.pulseaudio.package = pkgs.pulseaudioFull;
126
126
+
127
127
+
nix.trustedUsers = [ "root" "lass" ];
128
128
+
129
129
+
services.tor = {
130
130
+
enable = true;
131
131
+
client.enable = true;
132
132
+
};
133
133
+
134
134
+
documentation.nixos.enable = true;
135
135
+
boot.binfmt.emulatedSystems = [
136
136
+
"aarch64-linux"
137
137
+
];
138
138
+
139
139
+
boot.cleanTmpDir = true;
140
140
+
programs.noisetorch.enable = true;
141
141
+
}
+57
nixos/machines/ignavia/disk.nix
View file
Reviewed
···
1
1
+
{ self, ... }:
2
2
+
{
3
3
+
imports = [
4
4
+
self.inputs.disko.nixosModules.disko
5
5
+
];
6
6
+
disko.devices.disk = {
7
7
+
main = {
8
8
+
type = "disk";
9
9
+
device = "/dev/nvme0n1";
10
10
+
content = {
11
11
+
type = "gpt";
12
12
+
partitions = {
13
13
+
grub = {
14
14
+
size = "1M";
15
15
+
type = "EF02";
16
16
+
};
17
17
+
ESP = {
18
18
+
size = "1G";
19
19
+
type = "EF00";
20
20
+
content = {
21
21
+
type = "filesystem";
22
22
+
format = "vfat";
23
23
+
mountpoint = "/boot";
24
24
+
};
25
25
+
};
26
26
+
root = {
27
27
+
size = "100%";
28
28
+
content = {
29
29
+
type = "luks";
30
30
+
name = "aergia1";
31
31
+
content = {
32
32
+
type = "btrfs";
33
33
+
extraArgs = [ "-f" ]; # Override existing partition
34
34
+
subvolumes = {
35
35
+
# Subvolume name is different from mountpoint
36
36
+
"/rootfs" = {
37
37
+
mountpoint = "/";
38
38
+
};
39
39
+
# Mountpoints inferred from subvolume name
40
40
+
"/home" = {
41
41
+
mountOptions = [];
42
42
+
mountpoint = "/home";
43
43
+
};
44
44
+
"/nix" = {
45
45
+
mountOptions = [];
46
46
+
mountpoint = "/nix";
47
47
+
};
48
48
+
};
49
49
+
};
50
50
+
};
51
51
+
};
52
52
+
};
53
53
+
};
54
54
+
};
55
55
+
};
56
56
+
}
57
57
+
+3
nixos/machines/ignavia/install.sh
View file
Reviewed
···
1
1
+
#!/bin/sh
2
2
+
3
3
+
target=$1
+20
nixos/machines/ignavia/physical.nix
View file
Reviewed
···
1
1
+
{ self, ... }:
2
2
+
{
3
3
+
imports = [
4
4
+
./config.nix
5
5
+
../../2configs/antimicrox
6
6
+
./disk.nix
7
7
+
self.inputs.nixos-hardware.nixosModules.framework-13th-gen-intel
8
8
+
];
9
9
+
10
10
+
networking.hostId = "deadbeef";
11
11
+
# boot.loader.efi.canTouchEfiVariables = true;
12
12
+
boot.loader.grub = {
13
13
+
enable = true;
14
14
+
device = "/dev/nvme0n1";
15
15
+
efiSupport = true;
16
16
+
efiInstallAsRemovable = true;
17
17
+
};
18
18
+
19
19
+
hardware.opengl.enable = true;
20
20
+
}