Restructure NixOS host configuration files

This commit is contained in:
Oliver Davies 2025-01-04 17:51:00 +00:00
parent 9ea5655669
commit f92ad2b5ab
10 changed files with 70 additions and 114 deletions

View file

@ -1,6 +1,24 @@
{ inputs, ... }:
{ inputs, username, ... }:
{
imports = [
../common
../../users/opdavies
./configuration.nix
];
features = {
cli = {
docker.enable = true;
};
};
wsl = {
enable = true;
defaultUser = username;
};
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
nix = {