This commit is contained in:
Till 2023-12-15 19:32:50 +01:00
parent b5d14a8b64
commit 08044381f6
4 changed files with 29 additions and 14 deletions

15
system/alt.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
users.users.alt = {
isSystemUser = true;
description = "Alt";
extraGroups = [
"networkmanager"
];
shell = pkgs.fish;
group = "alt";
home = "/home/alt";
};
users.groups.alt = {};
}

View file

@ -12,8 +12,8 @@ in
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelModules = [ "kvm-intel" "v4l2loopback" ];
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-uuid/eaad533f-8586-4002-9c53-5aecf8e7abd8";