From 190574abc135a3cbdfe0c188a3f7490d374c2fba Mon Sep 17 00:00:00 2001 From: tzlil Date: Sun, 25 Jun 2023 23:23:20 +0300 Subject: a bunch of crap idk but website update --- hosts/laptop/cfg.nix | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'hosts/laptop') diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix index b835355..10d1696 100644 --- a/hosts/laptop/cfg.nix +++ b/hosts/laptop/cfg.nix @@ -36,10 +36,10 @@ boot = { initrd = { supportedFilesystems = ["btrfs"]; - availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod"]; + availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "usbhid" "snd_usb_audio"]; }; supportedFilesystems = ["ntfs"]; - kernelModules = ["kvm-intel"]; + kernelModules = ["kvm-intel" "snd-seq" "snd-rawmidi" "bridge"]; kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; # extraModulePackages = [ config.boot.kernelPackages.rtl8821ce ]; loader = { @@ -61,7 +61,7 @@ device = "none"; fsType = "tmpfs"; # hyprland doesnt compile with noexec root - options = ["defaults" "size=2G" "mode=755"]; + options = ["defaults" "size=8G" "mode=755"]; }; fileSystems."/boot" = { @@ -101,6 +101,12 @@ user = "tzlil"; group = "users"; } + { + directory = "/home/tzlil/.local/share/Steam"; + user = "tzlil"; + group = "users"; + } + "/var/lib/docker" ]; home-manager.users.tzlil = { @@ -111,6 +117,8 @@ }; }; + programs.steam.enable = true; + programs.firejail.wrappedBinaries = { mullvad-browser = { executable = lib.getExe pkgs.mullvad-browser; @@ -159,10 +167,14 @@ # dont know if i like this nix.settings.trusted-public-keys = [ - "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" -]; -nix.settings.substituters = [ - "https://cache.iog.io" -]; + "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" + ]; + nix.settings.substituters = [ + "https://cache.iog.io" + ]; + + virtualisation.docker.enable = true; + virtualisation.docker.storageDriver = "btrfs"; + users.users.tzlil.extraGroups = [ "docker" ]; }; } -- cgit 1.4.1