fix typos
This commit is contained in:
parent
4e3838b97f
commit
29a224e6bd
2 changed files with 35 additions and 31 deletions
|
|
@ -21,7 +21,6 @@ let
|
||||||
tlp
|
tlp
|
||||||
user
|
user
|
||||||
zsh
|
zsh
|
||||||
/etc/nixos/hardware-configuration.nix
|
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -30,6 +29,7 @@ in
|
||||||
with self.nixosModules;
|
with self.nixosModules;
|
||||||
[
|
[
|
||||||
nvidia
|
nvidia
|
||||||
|
nerv
|
||||||
]
|
]
|
||||||
++ mods;
|
++ mods;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ ... }:
|
{ lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
flake.nixosModules.nerv = {
|
flake.nixosModules.nerv = { config, ... }: {
|
||||||
|
config = {
|
||||||
|
dualBoot = true;
|
||||||
|
networking.hostName = "nerv";
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
|
|
@ -39,4 +42,5 @@
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue