Add unl0kr for shire
This commit is contained in:
parent
3ac81e8aef
commit
e609f8c68a
2 changed files with 15 additions and 5 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue