alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
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
0
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
Pipelines
nixos machines: rip echelon
author
lassulus
date
3 years ago
(Sep 13, 2023, 10:54 PM CEST)
commit
fb90a10f
fb90a10f964d05fb55adfbf45d398260b1dbc9a8
parent
f1c55878
f1c55878c67621a96771de01ff0d4b93b6211a06
-49
2 changed files
Expand all
Collapse all
Unified
Split
nixos
machines
echelon
config.nix
physical.nix
-16
nixos/machines/echelon/config.nix
Reviewed
···
1
1
-
{ config, pkgs, ... }:
2
2
-
{
3
3
-
imports = [
4
4
-
../../.
5
5
-
../../2configs/retiolum.nix
6
6
-
../../2configs/tor-initrd.nix
7
7
-
../../2configs/syncthing.nix
8
8
-
../../2configs/green-host.nix
9
9
-
];
10
10
-
11
11
-
krebs.build.host = config.krebs.hosts.echelon;
12
12
-
13
13
-
boot.tmpOnTmpfs = true;
14
14
-
15
15
-
}
16
16
-
-33
nixos/machines/echelon/physical.nix
Reviewed
···
1
1
-
{ config, lib, pkgs, modulesPath, ... }:
2
2
-
{
3
3
-
imports = [
4
4
-
./config.nix
5
5
-
(modulesPath + "/profiles/qemu-guest.nix")
6
6
-
];
7
7
-
8
8
-
# Use the GRUB 2 boot loader.
9
9
-
boot.loader.grub.enable = true;
10
10
-
boot.loader.grub.version = 2;
11
11
-
boot.loader.grub.efiSupport = true;
12
12
-
boot.loader.grub.efiInstallAsRemovable = true;
13
13
-
# Define on which hard drive you want to install Grub.
14
14
-
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
15
15
-
16
16
-
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];
17
17
-
boot.initrd.kernelModules = [ "dm-snapshot" ];
18
18
-
boot.initrd.luks.devices.luksroot.device = "/dev/sda3";
19
19
-
20
20
-
networking.useDHCP = false;
21
21
-
networking.interfaces.ens18.useDHCP = true;
22
22
-
23
23
-
fileSystems."/" = {
24
24
-
device = "/dev/disk/by-uuid/5186edb1-9234-48ae-8679-61facb56b818";
25
25
-
fsType = "xfs";
26
26
-
};
27
27
-
28
28
-
fileSystems."/boot" = {
29
29
-
device = "/dev/disk/by-uuid/56D1-34A0";
30
30
-
fsType = "vfat";
31
31
-
};
32
32
-
33
33
-
}