From d610a40c132e65b6a56a7a0da8806966bbd41f72 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 3 Feb 2023 17:12:57 +0100 Subject: Style: Formatting --- hosts/IDOHVE/configuration.nix | 1 - hosts/IDOHVE/hardware/boot.nix | 2 +- hosts/IDOHVE/hardware/boot_pictures/gnu.png | Bin 0 -> 327518 bytes hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_1.png | Bin 0 -> 207444 bytes hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_2.png | Bin 0 -> 208347 bytes hosts/IDOHVE/hardware/cpu.nix | 2 +- hosts/IDOHVE/hardware/gpu.nix | 1 - hosts/IDOHVE/hardware/hardware.nix | 4 +--- hosts/IDOHVE/networking.nix | 6 +++++- 9 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 hosts/IDOHVE/hardware/boot_pictures/gnu.png create mode 100755 hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_1.png create mode 100755 hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_2.png (limited to 'hosts/IDOHVE') diff --git a/hosts/IDOHVE/configuration.nix b/hosts/IDOHVE/configuration.nix index e9ddc69d..e42cb05f 100644 --- a/hosts/IDOHVE/configuration.nix +++ b/hosts/IDOHVE/configuration.nix @@ -15,6 +15,5 @@ ../../services/services.nix ]; - system.stateVersion = "23.05"; } diff --git a/hosts/IDOHVE/hardware/boot.nix b/hosts/IDOHVE/hardware/boot.nix index 932155a4..4cd94191 100644 --- a/hosts/IDOHVE/hardware/boot.nix +++ b/hosts/IDOHVE/hardware/boot.nix @@ -19,7 +19,7 @@ enable = true; version = 2; theme = pkgs.nixos-grub2-theme; - splashImage = ./grub_boot_image.png; + splashImage = ./boot_pictures/gnu.png; efiSupport = true; device = "nodev"; # only for efi }; diff --git a/hosts/IDOHVE/hardware/boot_pictures/gnu.png b/hosts/IDOHVE/hardware/boot_pictures/gnu.png new file mode 100755 index 00000000..d07dee3e Binary files /dev/null and b/hosts/IDOHVE/hardware/boot_pictures/gnu.png differ diff --git a/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_1.png b/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_1.png new file mode 100755 index 00000000..483f2681 Binary files /dev/null and b/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_1.png differ diff --git a/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_2.png b/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_2.png new file mode 100755 index 00000000..48cd6ad7 Binary files /dev/null and b/hosts/IDOHVE/hardware/boot_pictures/gnulin_emb_2.png differ diff --git a/hosts/IDOHVE/hardware/cpu.nix b/hosts/IDOHVE/hardware/cpu.nix index 5d61d02f..2d7232cd 100644 --- a/hosts/IDOHVE/hardware/cpu.nix +++ b/hosts/IDOHVE/hardware/cpu.nix @@ -1,4 +1,4 @@ {config, ...}: { - powerManagement.cpuFreqGovernor = "powersave"; + powerManagement.cpuFreqGovernor = "powersave"; hardware.cpu.amd.updateMicrocode = true; # Why not? } diff --git a/hosts/IDOHVE/hardware/gpu.nix b/hosts/IDOHVE/hardware/gpu.nix index 49197c2b..c3df51ae 100644 --- a/hosts/IDOHVE/hardware/gpu.nix +++ b/hosts/IDOHVE/hardware/gpu.nix @@ -4,7 +4,6 @@ lib, ... }: { - hardware.opengl.extraPackages = with pkgs; [ rocm-opencl-icd # open-cl amdvlk # or directly through mesa diff --git a/hosts/IDOHVE/hardware/hardware.nix b/hosts/IDOHVE/hardware/hardware.nix index 20e4c4f3..2d21ce8a 100644 --- a/hosts/IDOHVE/hardware/hardware.nix +++ b/hosts/IDOHVE/hardware/hardware.nix @@ -4,7 +4,7 @@ pkgs, modulesPath, ... -}:{ +}: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") # TODO is this necessary? ./cpu.nix @@ -13,7 +13,5 @@ ./filesystems.nix ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } - diff --git a/hosts/IDOHVE/networking.nix b/hosts/IDOHVE/networking.nix index 67e5bd15..5d5f194a 100644 --- a/hosts/IDOHVE/networking.nix +++ b/hosts/IDOHVE/networking.nix @@ -1,4 +1,8 @@ -{config, lib, ...}: { +{ + config, + lib, + ... +}: { # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction -- cgit 1.4.1