summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--nixos/gui.nix1
-rw-r--r--nixos/hardware/default.nix6
-rw-r--r--nixos/hardware/hardware-configuration.nix7
-rw-r--r--nixos/networking.nix4
5 files changed, 10 insertions, 10 deletions
diff --git a/flake.nix b/flake.nix
index 70b4c2f..45a9c57 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,7 +14,7 @@
nixosModules =
[ overlays-module my-nixpkgs.nixosModules.personal ./nixos ];
in {
- nixosConfigurations.latitude-7280 = nixpkgs.lib.nixosSystem {
+ nixosConfigurations.precision-3571 = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit nixos-hardware home-manager homeModules stylix; };
modules = nixosModules;
diff --git a/nixos/gui.nix b/nixos/gui.nix
index 0f3da65..e0998c4 100644
--- a/nixos/gui.nix
+++ b/nixos/gui.nix
@@ -16,5 +16,6 @@
'';
};
};
+ libinput.mouse.dev = "/dev/input/mouse0";
};
}
diff --git a/nixos/hardware/default.nix b/nixos/hardware/default.nix
index 9c0fa3a..8d932d0 100644
--- a/nixos/hardware/default.nix
+++ b/nixos/hardware/default.nix
@@ -12,7 +12,7 @@
personal.hardware = {
usb.enable = true;
- disks.crypted = "/dev/disk/by-uuid/10aefeb6-e479-43cb-9848-53bd788a77ee";
+ disks.crypted = "/dev/disk/by-uuid/18b3e6f0-6ad5-471e-bdf4-e1710d99f13f";
firmwareNonFree.enable = true;
keyboard.keyMap = "fr";
backlights = {
@@ -21,7 +21,5 @@
};
sound.enable = true;
};
-
- # https://wiki.archlinux.org/title/Dell_Latitude_7280
- boot.kernelParams = [ "intel_idle.max_cstate=4" ];
}
+
diff --git a/nixos/hardware/hardware-configuration.nix b/nixos/hardware/hardware-configuration.nix
index e264459..2bb7dc1 100644
--- a/nixos/hardware/hardware-configuration.nix
+++ b/nixos/hardware/hardware-configuration.nix
@@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
+ boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "ahci" "nvme" "usb_storage" "uas" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@@ -24,7 +24,7 @@
};
swapDevices =
- [ { device = "/dev/disk/by-uuid/cc2b2f1e-1c41-4b3e-9432-81f75d40a892"; }
+ [ { device = "/dev/disk/by-uuid/2fac760d-6eaf-4a75-ab11-52e91c6c30ab"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@@ -33,8 +33,9 @@
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
+ # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
diff --git a/nixos/networking.nix b/nixos/networking.nix
index 367349f..c7b77c2 100644
--- a/nixos/networking.nix
+++ b/nixos/networking.nix
@@ -12,11 +12,11 @@
};
networking = {
- hostName = "latitude-7280";
+ hostName = "precision-3571";
interfaces = {
enp0s31f6.useDHCP = true;
- wlp2s0.useDHCP = true;
+ wlp0s20f3.useDHCP = true;
};
};
}