Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(loki): reinstall on another ssd

+55 -10
+1 -4
homes/x86_64-linux/loki/cosmeak/default.nix
··· 5 5 programs.home-manager.enable = true; 6 6 7 7 home.packages = with pkgs; [ 8 - brave 9 8 btop 10 9 discord-canary 11 10 just ··· 19 18 vscodium 20 19 ]; 21 20 22 - 23 - 24 21 # You do not need to change this if you're reading this in the future. 25 22 # Don't ever change this after the first build. Don't ask questions. 26 - home.stateVersion = "24.05"; 23 + home.stateVersion = "24.11"; 27 24 }
+12 -3
hosts/x86_64-linux/loki/default.nix
··· 4 4 5 5 # Desktop Environment 6 6 services.xserver.enable = true; 7 - services.xserver.desktopManager.budgie.enable = true; 8 - services.xserver.displayManager.lightdm.enable = true; 7 + #services.xserver.desktopManager.budgie.enable = true; 8 + #services.xserver.displayManager.lightdm.enable = true; 9 + services.xserver = { 10 + desktopManager = { 11 + xterm.enable = false; 12 + xfce.enable = true; 13 + }; 14 + }; 15 + services.displayManager.defaultSession = "xfce"; 16 + 17 + programs.firefox.enable = true; 9 18 10 19 # Home Manager 11 20 home-manager.useGlobalPkgs = true; ··· 150 159 # this value at the release version of the first install of this system. 151 160 # Before changing this value read the documentation for this option 152 161 # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 153 - system.stateVersion = "24.05"; # Did you read the comment? 162 + system.stateVersion = "24.11"; # Did you read the comment? 154 163 }
+3 -3
hosts/x86_64-linux/loki/hardware.nix
··· 8 8 [ (modulesPath + "/installer/scan/not-detected.nix") 9 9 ]; 10 10 11 - boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; 11 + boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; 12 12 boot.initrd.kernelModules = [ ]; 13 13 boot.kernelModules = [ "kvm-intel" ]; 14 14 boot.extraModulePackages = [ ]; 15 15 16 16 fileSystems."/" = 17 - { device = "/dev/disk/by-uuid/478297d9-a57d-4793-bf55-95a5601ed062"; 17 + { device = "/dev/disk/by-uuid/1cbaa92a-7c91-496f-b1b4-32a1249ba9af"; 18 18 fsType = "ext4"; 19 19 }; 20 20 21 21 fileSystems."/boot" = 22 - { device = "/dev/disk/by-uuid/D77B-3D8D"; 22 + { device = "/dev/disk/by-uuid/7EAC-2F74"; 23 23 fsType = "vfat"; 24 24 options = [ "fmask=0077" "dmask=0077" ]; 25 25 };
+39
hosts/x86_64-linux/loki/hardware.nix.bak
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, pkgs, modulesPath, ... }: 5 + 6 + { 7 + imports = 8 + [ (modulesPath + "/installer/scan/not-detected.nix") 9 + ]; 10 + 11 + boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; 12 + boot.initrd.kernelModules = [ ]; 13 + boot.kernelModules = [ "kvm-intel" ]; 14 + boot.extraModulePackages = [ ]; 15 + 16 + fileSystems."/" = 17 + { device = "/dev/disk/by-uuid/478297d9-a57d-4793-bf55-95a5601ed062"; 18 + fsType = "ext4"; 19 + }; 20 + 21 + fileSystems."/boot" = 22 + { device = "/dev/disk/by-uuid/D77B-3D8D"; 23 + fsType = "vfat"; 24 + options = [ "fmask=0077" "dmask=0077" ]; 25 + }; 26 + 27 + swapDevices = [ ]; 28 + 29 + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 30 + # (the default) this is the recommended approach. When using systemd-networkd it's 31 + # still possible to use this option, but it's recommended to use it in conjunction 32 + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 33 + networking.useDHCP = lib.mkDefault true; 34 + # networking.interfaces.enp5s0.useDHCP = lib.mkDefault true; 35 + # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; 36 + 37 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 38 + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 39 + }