wsl: add caches to basic setup
This commit is contained in:
parent
70ef33dc4e
commit
3f8f2df07a
2 changed files with 20 additions and 1 deletions
|
@ -33,7 +33,21 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
${namespace} = {
|
${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;
|
apps.cli-apps.helix = enabled;
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,11 @@ with lib.wyrdgard;
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultUser = config.wyrdgard.user.name;
|
defaultUser = config.wyrdgard.user.name;
|
||||||
|
|
||||||
|
usbip = {
|
||||||
|
enable = true;
|
||||||
|
autoAttach = [ "3-1" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wyrdgard = {
|
wyrdgard = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue