diff --git a/nix/flake.nix b/nix/flake.nix index 3ff82e2..b407d6f 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -22,6 +22,10 @@ name = "wsl-kumatani"; isWSL = true; } + { + name = "wsl-usahara"; + isWSL = true; + } { name = "tux"; } diff --git a/nix/hosts/wsl-usahara/configuration.nix b/nix/hosts/wsl-usahara/configuration.nix new file mode 100644 index 0000000..28a2ff3 --- /dev/null +++ b/nix/hosts/wsl-usahara/configuration.nix @@ -0,0 +1,25 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page, on +# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). + +{ + config, + lib, + pkgs, + meta, + ... +}: + +{ + imports = [ ../../modules/default.nix ]; + + wsl.enable = true; + wsl.defaultUser = "luca"; + networking.hostName = meta.hostname; + hm.enable = true; + users.users.luca.shell = pkgs.zsh; + + environment.systemPackages = with pkgs; config.commonPackages ++ [ asciiquarium ]; + + system.stateVersion = "24.05"; +}