diff --git a/flake.nix b/flake.nix index ed7dc53c..368e0d7c 100644 --- a/flake.nix +++ b/flake.nix @@ -21,18 +21,19 @@ configureNixSystem = hostname: nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ - # Host specific configuration - ./hosts/${hostname}/configuration.nix - # Common settings for all hosts ({ pkgs, ... }: import ./nixos_common.nix { inherit inputs; inherit pkgs; }) + # Host specific configuration + ./hosts/${hostname}/configuration.nix + # home-manager home-manager.nixosModules.home-manager ({ ... }: import ./home-manager.nix { inherit inputs; }) ]; }; + in { nixosConfigurations = { diff --git a/hosts/Shire/configuration.nix b/hosts/Shire/configuration.nix index c784ec4d..baed44e5 100644 --- a/hosts/Shire/configuration.nix +++ b/hosts/Shire/configuration.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: { imports = [ @@ -8,5 +8,14 @@ networking.hostName = "Shire"; - # TODO + boot = { + kernelParams = config.boot.kernelParams ++ [ + "intel_idle.max_cstate=1" + ]; + initrd.unl0kr.enable = true; + + # Does not work with unl0kr now + # https://github.com/NixOS/nixpkgs/issues/291935 + plymouth.enable = false; + }; }