mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 09:22:19 +00:00
add basic wsl config
This commit is contained in:
parent
105156a327
commit
cc9ccca5d1
2 changed files with 20 additions and 0 deletions
|
@ -73,6 +73,11 @@
|
||||||
pkgs = pkgsFor.x86_64-linux;
|
pkgs = pkgsFor.x86_64-linux;
|
||||||
extraSpecialArgs = { inherit inputs outputs; };
|
extraSpecialArgs = { inherit inputs outputs; };
|
||||||
};
|
};
|
||||||
|
"jbowdre@jammy-wsl" = lib.homeManagerConfiguration {
|
||||||
|
modules = [ ./nix/home/jammy-wsl.nix ];
|
||||||
|
pkgs = pkgsFor.x86_64-linux;
|
||||||
|
extraSpecialArgs = { inherit inputs outputs; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
15
nix/home/jammy-wsl.nix
Normal file
15
nix/home/jammy-wsl.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
./global
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
# username override
|
||||||
|
username = "jbowdre";
|
||||||
|
packages = with pkgs; [
|
||||||
|
vagrant
|
||||||
|
wslu
|
||||||
|
wsl-open
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue