fuji-wsl: init
This commit is contained in:
parent
1bdcd5308a
commit
a842256b97
10 changed files with 126 additions and 13 deletions
30
systems/fuji-wsl/default.nix
Normal file
30
systems/fuji-wsl/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
username = "leo";
|
||||
in {
|
||||
imports = [
|
||||
(lib.mkAliasOptionModule ["hm"] ["home-manager" "users" username])
|
||||
|
||||
../../programs/fish.nix
|
||||
../../programs/git.nix
|
||||
../../programs/starship.nix
|
||||
];
|
||||
|
||||
hm.home.stateVersion = "23.11";
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = username;
|
||||
};
|
||||
|
||||
users.users."${username}" = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = ["wheel"];
|
||||
hashedPasswordFile = config.age.secrets.userPassword.path;
|
||||
};
|
||||
}
|
3
systems/fuji-wsl/hardware-configuration.nix
Normal file
3
systems/fuji-wsl/hardware-configuration.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
# intentionally empty
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue