From 37f3f10ec822ff153faccedb37fc2a0eafcd2a53 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 23 May 2026 20:42:55 -0400 Subject: add back nvim --- hosts/icon/configuration.nix | 3 ++- hosts/icon/hardware-configuration.nix | 49 +++++++++++++++++++++++------------ hosts/nepsis/configuration.nix | 5 +++- 3 files changed, 38 insertions(+), 19 deletions(-) (limited to 'hosts') diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 7a263c6..469e764 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -3,7 +3,8 @@ pkgs, inputs, ... -}: { +}: +{ imports = [ ./hardware-configuration.nix ]; diff --git a/hosts/icon/hardware-configuration.nix b/hosts/icon/hardware-configuration.nix index e22a293..4fdf938 100644 --- a/hosts/icon/hardware-configuration.nix +++ b/hosts/icon/hardware-configuration.nix @@ -1,32 +1,47 @@ # 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, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "ehci_pci" + "ahci" + "usb_storage" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/2e969677-74d5-4c22-a708-fa27ba11f2f9"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/2e969677-74d5-4c22-a708-fa27ba11f2f9"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/C246-075A"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/c562b7b7-2a7e-4416-8223-120956671eae"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/C246-075A"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/c562b7b7-2a7e-4416-8223-120956671eae"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; diff --git a/hosts/nepsis/configuration.nix b/hosts/nepsis/configuration.nix index 6dc148e..7fe2b95 100644 --- a/hosts/nepsis/configuration.nix +++ b/hosts/nepsis/configuration.nix @@ -3,13 +3,16 @@ pkgs, inputs, ... -}: { +}: +{ imports = [ ./hardware-configuration.nix ./../../lockscreen.nix ./../../x11.nix ./../../hjem.nix ./../../audio.nix + ./../../vim.nix + ./../../sh.nix ]; networking.hostName = "nepsis"; -- cgit v1.3.1