blob: dbfffff025ff23ce07c12150437529f176a8142e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d";
fsType = "btrfs";
options = [ "subvol=nixos" ];
};
boot.initrd.luks.devices."system".allowDiscards = true;
boot.initrd.luks.devices."system".device =
"/dev/disk/by-uuid/0d11e090-d88f-4313-8a41-8ef52eea0870";
fileSystems."/home" = {
device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/.snapshots" = {
device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d";
fsType = "btrfs";
options = [ "subvol=snapshots" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/CBB9-B788";
fsType = "vfat";
};
fileSystems."/data/fast" = {
device = "/dev/disk/by-uuid/b9290b55-8ff6-4bd0-843d-a9e6f7a4df59";
fsType = "btrfs";
};
boot.initrd.luks.devices."raid-fast".device =
"/dev/disk/by-id/md-name-nixos:fast";
fileSystems."/data/slow" = {
device = "/dev/disk/by-uuid/0f16db51-0ee7-48d8-9e48-653b85ecbf0a";
fsType = "btrfs";
};
boot.initrd.luks.devices."raid-slow".device =
"/dev/disk/by-id/md-name-nixos:slow";
# see https://www.man7.org/linux/man-pages/man5/loader.conf.5.html
boot.loader.systemd-boot.consoleMode = "max";
swapDevices =
[{ device = "/dev/disk/by-uuid/0f54b5ab-4fca-4c5a-a9eb-622553145163"; }];
my.hardware.amd.enable = true;
my.systems.btrfs.enable = true;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = "schedutil";
}
|