Restructure NixOS host configuration files
This commit is contained in:
parent
9ea5655669
commit
f92ad2b5ab
10 changed files with 70 additions and 114 deletions
|
@ -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 = {
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{ username, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../common
|
||||
../../users/opdavies
|
||||
|
||||
./configuration.nix
|
||||
];
|
||||
|
||||
features = {
|
||||
cli = {
|
||||
docker.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = username;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue