cleanup (mostly)
This commit is contained in:
parent
63774580b8
commit
20c5b716ef
4 changed files with 18 additions and 15 deletions
|
@ -4,28 +4,26 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/95b15244-c97c-42a5-9be1-ed5df6872dcb";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/95b15244-c97c-42a5-9be1-ed5df6872dcb";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/BF87-B3DE";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/BF87-B3DE";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/b6445ced-1cc2-461f-a81f-6e8409c10f48"; }
|
||||
];
|
||||
swapDevices =[ { device = "/dev/disk/by-uuid/b6445ced-1cc2-461f-a81f-6e8409c10f48"; } ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
networking.hostName = "surface";
|
||||
|
||||
# Add user to surface control group for surface linux
|
||||
users.users.twoneis.extraGroups = [ "surface-control" ];
|
||||
|
||||
# Enable OpenGL
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./audio.nix
|
||||
./fonts.nix
|
||||
./docker.nix
|
||||
./virt.nix
|
||||
../gnome
|
||||
];
|
||||
|
||||
|
@ -79,6 +80,6 @@
|
|||
users.users.twoneis = {
|
||||
isNormalUser = true;
|
||||
description = "twoneis";
|
||||
extraGroups = [ "networkmanager" "wheel" "surface-control" "docker" ];
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{ ... }: {
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.twoneis.extraGroups = [ "docker" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue