From 043b6f55c83a50f8221aa6758535f0384772664f Mon Sep 17 00:00:00 2001 From: 4Lost Date: Sun, 23 Mar 2025 23:08:39 +0100 Subject: [PATCH] update hardware-config --- hardware-configuration-desktop.nix | 9 ++++++--- home/programs/alacritty/default.nix | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hardware-configuration-desktop.nix b/hardware-configuration-desktop.nix index 0244581..73a30cd 100644 --- a/hardware-configuration-desktop.nix +++ b/hardware-configuration-desktop.nix @@ -14,17 +14,20 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/fcd3cb1a-9ca3-42a1-981d-84b8a709eb26"; + { device = "/dev/disk/by-label/NIXROOT"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/1A1E-0B59"; + { device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/.swapfile"; + size = 2048; + }]; # 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 diff --git a/home/programs/alacritty/default.nix b/home/programs/alacritty/default.nix index 1b03c33..bee155d 100644 --- a/home/programs/alacritty/default.nix +++ b/home/programs/alacritty/default.nix @@ -4,7 +4,7 @@ let theme = builtins.fetchurl { url = "https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml"; - sha256 = "1rnc6gsqjdvkb6xbv1pnawrp6f0j5770dqml2di90j3lhv0fppgw"; + sha256 = "1idjbm5jim9b36235hgwgp9ab81fmbij42y7h85l4l7cqcbyz74l"; }; in { home.packages = with pkgs; [ fira-code alacritty-theme ];