wsl: add caches to basic setup

This commit is contained in:
Christoph Hollizeck 2025-05-30 21:33:37 +02:00
parent 70ef33dc4e
commit 3f8f2df07a
2 changed files with 20 additions and 1 deletions

View file

@ -33,7 +33,21 @@ in
];
${namespace} = {
nix = enabled;
nix = {
enable = true;
extra-substituters = {
"https://cache.lix.systems" = {
key = "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=";
};
"https://nix-community.cachix.org" = {
key = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
};
"https://nixcache.christophhollizeck.dev" = {
key = "christophhollizeck.dev:7pPAvm9xqFQB8FDApVNL6Tii1Jsv+Sj/LjEIkdeGhbA=";
};
};
};
apps.cli-apps.helix = enabled;

View file

@ -10,6 +10,11 @@ with lib.wyrdgard;
wsl = {
enable = true;
defaultUser = config.wyrdgard.user.name;
usbip = {
enable = true;
autoAttach = [ "3-1" ];
};
};
wyrdgard = {