tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
chore: format
devins.page
2 months ago
cebebfc9
039e7e57
+33
-28
2 changed files
expand all
collapse all
unified
split
hosts
devins-5495
default.nix
hardware.nix
+10
-9
hosts/devins-5495/default.nix
···
1
1
-
{ config, pkgs, ... }:
2
2
-
3
1
{
4
4
-
imports =
5
5
-
[
6
6
-
./hardware.nix
7
7
-
./services/fwupd.nix
8
8
-
./services/ssh.nix
9
9
-
./services/tailscale.nix
10
10
-
];
2
2
+
config,
3
3
+
pkgs,
4
4
+
...
5
5
+
}: {
6
6
+
imports = [
7
7
+
./hardware.nix
8
8
+
./services/fwupd.nix
9
9
+
./services/ssh.nix
10
10
+
./services/tailscale.nix
11
11
+
];
11
12
12
13
boot.loader.systemd-boot.enable = true;
13
14
boot.loader.efi.canTouchEfiVariables = true;
+23
-19
hosts/devins-5495/hardware.nix
···
1
1
# Do not modify this file! It was generated by ‘nixos-generate-config’
2
2
# and may be overwritten by future invocations. Please make changes
3
3
# to /etc/nixos/configuration.nix instead.
4
4
-
{ config, lib, pkgs, modulesPath, ... }:
5
5
-
6
4
{
7
7
-
imports =
8
8
-
[ (modulesPath + "/installer/scan/not-detected.nix")
9
9
-
];
5
5
+
config,
6
6
+
lib,
7
7
+
pkgs,
8
8
+
modulesPath,
9
9
+
...
10
10
+
}: {
11
11
+
imports = [
12
12
+
(modulesPath + "/installer/scan/not-detected.nix")
13
13
+
];
10
14
11
11
-
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
12
12
-
boot.initrd.kernelModules = [ ];
13
13
-
boot.kernelModules = [ "kvm-amd" ];
14
14
-
boot.extraModulePackages = [ ];
15
15
+
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc"];
16
16
+
boot.initrd.kernelModules = [];
17
17
+
boot.kernelModules = ["kvm-amd"];
18
18
+
boot.extraModulePackages = [];
15
19
16
16
-
fileSystems."/" =
17
17
-
{ device = "/dev/disk/by-uuid/b8e42c06-fd74-480f-bf5e-f67c05383227";
18
18
-
fsType = "ext4";
19
19
-
};
20
20
+
fileSystems."/" = {
21
21
+
device = "/dev/disk/by-uuid/b8e42c06-fd74-480f-bf5e-f67c05383227";
22
22
+
fsType = "ext4";
23
23
+
};
20
24
21
21
-
fileSystems."/boot" =
22
22
-
{ device = "/dev/disk/by-uuid/83CD-DDA0";
23
23
-
fsType = "vfat";
24
24
-
options = [ "fmask=0077" "dmask=0077" ];
25
25
-
};
25
25
+
fileSystems."/boot" = {
26
26
+
device = "/dev/disk/by-uuid/83CD-DDA0";
27
27
+
fsType = "vfat";
28
28
+
options = ["fmask=0077" "dmask=0077"];
29
29
+
};
26
30
27
27
-
swapDevices = [ ];
31
31
+
swapDevices = [];
28
32
29
33
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
30
34
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;