feat(flake.nix): add impermanence module to flake

This commit is contained in:
Mohammad Rafiq 2025-05-18 15:46:39 +08:00
parent 067e0c9970
commit 7b591ba470
6 changed files with 32 additions and 10 deletions

View file

@ -5,6 +5,7 @@
./nvidia.nix
./audio.nix
./cpu.nix
./networking.nix
];
options.hardware = {

View file

@ -0,0 +1,10 @@
{ config, lib, ... }:
{
config = lib.mkMerge [
{
networking.useDHCP = lib.mkDefault true;
networking.hostName = config.system.hostname;
networking.networkmanager.enable = true;
}
];
}

View file

@ -8,6 +8,7 @@
];
options.system = {
hostname = lib.pantheon.mkStrOption;
mainUser = lib.pantheon.mkStrOption;
bootloader = lib.pantheon.mkStrOption;
};