diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-13 19:48:43 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-13 20:00:54 -0500 |
| commit | 2bc281ffe486560e8c9a7f48c867a135892b2c9d (patch) | |
| tree | e7c234f28f774adf80ed0af9212df77fec97c735 /hosts | |
| parent | 16ded7f61e06eb328e7d79c1de8cefaece926889 (diff) | |
copy over some old config files, setup desktop
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/lust/default.nix | 23 | ||||
| -rw-r--r-- | hosts/lust/hardware-configuration.nix | 44 |
2 files changed, 67 insertions, 0 deletions
diff --git a/hosts/lust/default.nix b/hosts/lust/default.nix new file mode 100644 index 0000000..53b2766 --- /dev/null +++ b/hosts/lust/default.nix @@ -0,0 +1,23 @@ +{ config, lib, ... }: +{ + imports = [ + ../../common/pipewire.nix + ../../common/region/na-east.nix + ]; + + greeters.tuigreet = { + enable = true; + time = true; + }; + + home-manager.users.rosa = { + imports = [ ../../modules/user ]; + desktop.windowManager = "swayfx"; + home.stateVersion = lib.mkForce "23.05"; # homedir been around for a while + programs.vesktop.enable = true; + }; + + networking.networkmanager.enable = true; + programs.swayfx.enable = true; + system.stateVersion = "23.05"; +} diff --git a/hosts/lust/hardware-configuration.nix b/hosts/lust/hardware-configuration.nix new file mode 100644 index 0000000..2614284 --- /dev/null +++ b/hosts/lust/hardware-configuration.nix @@ -0,0 +1,44 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@rootfs" ]; + }; + + fileSystems."/etc" = + { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@etc" ]; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@homes" ]; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/A8C6-E3EB"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
