From 34aa950ed3703a9e9142e1850eb65bfac1a1a2bc Mon Sep 17 00:00:00 2001 From: batvin321 Date: Mon, 20 Jan 2025 19:27:45 +0000 Subject: [PATCH] updated old-hp config --- system/old-hp/configuration.nix | 16 ++++------------ system/old-hp/hardware-configuration.nix | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/system/old-hp/configuration.nix b/system/old-hp/configuration.nix index 5b1702a..fea1997 100755 --- a/system/old-hp/configuration.nix +++ b/system/old-hp/configuration.nix @@ -150,7 +150,7 @@ kdePackages.kate nano # vm - unstable.quickemu + quickemu # containers podman podman-compose @@ -159,7 +159,9 @@ # office apps bottles onlyoffice-bin_latest - logseq + nb + git + w3m zoom-us orca-slicer gpodder @@ -171,16 +173,6 @@ ]; }; - services = { - syncthing = { - enable = true; - user = "vincent"; - openDefaultPorts = true; - dataDir = "/home/vincent/logseq"; # Default folder for new synced folders - configDir = "/home/vincent/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys - }; - }; - # flatpak xdg.portal.enable = true; services.flatpak.enable = true; diff --git a/system/old-hp/hardware-configuration.nix b/system/old-hp/hardware-configuration.nix index 2bae8bf..e158ed9 100644 --- a/system/old-hp/hardware-configuration.nix +++ b/system/old-hp/hardware-configuration.nix @@ -14,41 +14,41 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992"; + { device = "/dev/sda2"; fsType = "btrfs"; - options = [ "subvol=root" ]; + options = [ "subvol=root" "compress=zstd:5" "noatime" ]; }; - boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/7a43a7b8-6abd-4266-af16-3a5b0637ad77"; + boot.initrd.luks.devices."cryptroot".device = "/dev/sda2"; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/7673-9394"; + { device = "/dev/sda1"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; fileSystems."/home" = - { device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992"; + { device = "/dev/sda2"; fsType = "btrfs"; - options = [ "subvol=home" ]; + options = [ "subvol=home" "compress=zstd:5" "noatime" ]; }; fileSystems."/nix" = - { device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992"; + { device = "/dev/sda2"; fsType = "btrfs"; - options = [ "subvol=nix" ]; + options = [ "subvol=nix" "compress=zstd:5" "noatime" ]; }; fileSystems."/persist" = - { device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992"; + { device = "/dev/sda2"; fsType = "btrfs"; - options = [ "subvol=persist" ]; + options = [ "subvol=persist" "compress=zstd:5" "noatime" ]; }; fileSystems."/var/log" = - { device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992"; + { device = "/dev/sda2"; fsType = "btrfs"; - options = [ "subvol=log" ]; + options = [ "subvol=log" "compress=zstd:5" "noatime" ]; }; swapDevices = [ ];