nixos/profiles/desktop: make the configuration easily retrievable

This commit is contained in:
Gabriel Arazas 2024-02-28 18:49:11 +08:00
parent 22e3a09243
commit 843310e8b8
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 3 additions and 8 deletions

View File

@ -95,14 +95,6 @@
defaultNixConf
../../modules/nixos/profiles/generic.nix
../../modules/nixos/profiles/nix-conf.nix
# The NixOS module that came from flake-parts.
({ config, lib, ... }: {
# Set the NixOS system at the time of evaluation for convenience. Take
# note, we assume that you develop your NixOS configuration somewhere
# not in `/etc/nixos`.
environment.etc.nixos.source = inputs.self;
})
];
};

View File

@ -7,4 +7,7 @@
./audio.nix
./hardware.nix
];
# We'll just have the configuration stored as a backup.
environment.etc.nixos.source = ../../../../..;
}