initial wsl setup

This commit is contained in:
Christoph Hollizeck 2024-08-21 16:53:36 +02:00
parent e914535876
commit e7a0c0f0f2
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
6 changed files with 185 additions and 9 deletions

View file

@ -0,0 +1,48 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.submodules.basics-wsl;
in
{
options.wyrdgard.submodules.basics-wsl = with types; {
enable = mkBoolOpt false "Whether or not to enable basic configuration.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
neofetch
fd
tree
ripgrep
fzf
colorls
];
wyrdgard = {
nix = enabled;
tools = {
git = enabled;
};
system.hardware = {
networking = enabled;
};
system = {
fonts = enabled;
locale = enabled;
time = enabled;
xkb = enabled;
};
};
};
}