alejandra?
This commit is contained in:
parent
63baacc410
commit
21d7561a56
17 changed files with 296 additions and 204 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# prescurve
|
||||
# libsForQt5.skanpage
|
||||
|
|
@ -10,20 +10,20 @@
|
|||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/e4244a97-9b48-49f0-8093-782163045020";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home-snaps/0/snapshot" "noatime" "compress-force=zstd:3" "discard=async" ];
|
||||
options = ["subvol=home-snaps/0/snapshot" "noatime" "compress-force=zstd:3" "discard=async"];
|
||||
};
|
||||
fileSystems."/home/tao/Games" = {
|
||||
device = "/dev/disk/by-uuid/e4244a97-9b48-49f0-8093-782163045020";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=games" "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" "discard=async" ];
|
||||
options = ["subvol=games" "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" "discard=async"];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/e4244a97-9b48-49f0-8093-782163045020";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nixos" "noatime" "compress-force=zstd:3" "discard=async" ];
|
||||
options = ["subvol=nixos" "noatime" "compress-force=zstd:3" "discard=async"];
|
||||
};
|
||||
|
||||
swapDevices = [{ device = "/dev/disk/by-uuid/ca55d0ea-c0db-44c5-af3a-e38eec803929"; }];
|
||||
swapDevices = [{device = "/dev/disk/by-uuid/ca55d0ea-c0db-44c5-af3a-e38eec803929";}];
|
||||
|
||||
services.fprintd.enable = true;
|
||||
services.fwupd.enable = true;
|
||||
|
|
@ -45,7 +45,6 @@
|
|||
# wantedBy = [ "default.target" ];
|
||||
# };
|
||||
|
||||
|
||||
# SUBSYSTEM=="backlight", GROUP="video", MODE="0664"
|
||||
services.udev.extraRules = ''
|
||||
# Ethernet expansion card
|
||||
|
|
@ -69,9 +68,9 @@
|
|||
"nvme.noacpi=1"
|
||||
"i915.enable_psr=1"
|
||||
];
|
||||
boot.blacklistedKernelModules = [ "cros-usbpd-charger" ];
|
||||
boot.blacklistedKernelModules = ["cros-usbpd-charger"];
|
||||
boot.extraModprobeConfig = ''options snd-hda-intel model=dell-headset-multi'';
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
systemd.sleep.extraConfig = "HibernateDelaySec=180m";
|
||||
# boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue