-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathconfiguration.nix
More file actions
36 lines (29 loc) · 879 Bytes
/
Copy pathconfiguration.nix
File metadata and controls
36 lines (29 loc) · 879 Bytes
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
# Configuration for kartoffel
{ pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
./retiolum.nix
];
networking.hostName = "kartoffel";
pinpox.defaults.lvm-grub.enable = true;
# Encrypted drive to be mounted by the bootloader. Path of the device will
# have to be changed for each install.
boot.initrd.luks.devices = {
root = {
# Get UUID from blkid /dev/sda2
device = "/dev/disk/by-uuid/608e0e77-eea4-4dc4-b88d-76cc63e4488b";
preLVM = true;
allowDiscards = true;
};
};
# Video driver for nvidia graphics card
hardware.nvidia.open = false;
boot.blacklistedKernelModules = [ "nouveau" ];
services.greetd.settings.default_session.command =
lib.mkForce "${pkgs.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
boot.supportedFilesystems = {
btrfs = true;
zfs = true;
};
}