nixos-config/modules/nixos/submodules/basics-wsl/default.nix
Christoph Hollizeck 8f3c53dee5
hyprland: setup hyprpanel, fix nvidia issues, accomodate new shadow config
a big part of this was an accidental commit of the gitbutler integration commit that i accidently commited when it broke due to nix rust issues. the new server was also added in this, but further config happens in #1
2024-11-08 00:37:31 +01:00

54 lines
826 B
Nix

{
config,
lib,
namespace,
pkgs,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt enabled;
cfg = config.${namespace}.submodules.basics-wsl;
in
{
options.${namespace}.submodules.basics-wsl = {
enable = mkBoolOpt false "Whether or not to enable basic configuration.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
neofetch
fd
tree
ripgrep
fzf
eza
wslu
wsl-open
];
${namespace} = {
nix = enabled;
apps.cli-apps.helix = enabled;
tools = {
git = enabled;
};
system.hardware = {
networking = enabled;
};
system = {
fonts = enabled;
locale = enabled;
time = enabled;
xkb = enabled;
};
};
};
}