feat(flake.nix): add impermanence module to flake
This commit is contained in:
parent
067e0c9970
commit
7b591ba470
6 changed files with 32 additions and 10 deletions
|
@ -5,6 +5,7 @@
|
|||
./nvidia.nix
|
||||
./audio.nix
|
||||
./cpu.nix
|
||||
./networking.nix
|
||||
];
|
||||
|
||||
options.hardware = {
|
||||
|
|
10
modules/nixos/hardware/networking.nix
Normal file
10
modules/nixos/hardware/networking.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
networking.hostName = config.system.hostname;
|
||||
networking.networkmanager.enable = true;
|
||||
}
|
||||
];
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
];
|
||||
|
||||
options.system = {
|
||||
hostname = lib.pantheon.mkStrOption;
|
||||
mainUser = lib.pantheon.mkStrOption;
|
||||
bootloader = lib.pantheon.mkStrOption;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue