Переглянути джерело

ono takes ideapad's shell color

Johan Rong 1 місяць тому
батько
коміт
58895725d4
2 змінених файлів з 44 додано та 1 видалено
  1. 1 1
      home/modules/configs/fish/default.nix
  2. 43 0
      hosts/ono/nixos/hardware.nix

+ 1 - 1
home/modules/configs/fish/default.nix

@@ -58,7 +58,7 @@
             case 'nixstation'
                 set primary_color "brblue"
                 set pwd_color "blue"
-            case 'ideapad'
+            case 'ono'
                 set primary_color "cyan"
                 set pwd_color "brcyan"
             case 'moholt'

+ 43 - 0
hosts/ono/nixos/hardware.nix

@@ -0,0 +1,43 @@
+# 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" "thunderbolt" "usb_storage" "sd_mod" ];
+  boot.initrd.kernelModules = [ ];
+  boot.kernelModules = [ "kvm-amd" ];
+  boot.extraModulePackages = [ ];
+
+  fileSystems."/" =
+    { device = "/dev/disk/by-uuid/7bddf24c-4507-40d8-a61f-6e990d95922f";
+      fsType = "btrfs";
+    };
+
+  fileSystems."/home" =
+    { device = "/dev/disk/by-uuid/7bddf24c-4507-40d8-a61f-6e990d95922f";
+      fsType = "btrfs";
+      options = [ "subvol=home" ];
+    };
+
+  fileSystems."/nix" =
+    { device = "/dev/disk/by-uuid/7bddf24c-4507-40d8-a61f-6e990d95922f";
+      fsType = "btrfs";
+      options = [ "subvol=nix" ];
+    };
+
+  fileSystems."/boot" =
+    { device = "/dev/disk/by-uuid/0C57-3FAF";
+      fsType = "vfat";
+      options = [ "fmask=0077" "dmask=0077" ];
+    };
+
+  swapDevices = [ ];
+
+  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+}