Add home manager configuraiton
This commit is contained in:
parent
92c095c8a5
commit
558ecfabd3
5 changed files with 90 additions and 26 deletions
32
home-manager/machines/wsl/home.nix
Normal file
32
home-manager/machines/wsl/home.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ withSystem, inputs, ... }:
|
||||
{
|
||||
# perSystem = { ... }: { config.packages.hello = ...; };
|
||||
|
||||
flake.homeConfigurations.wsl = withSystem "x86_64-linux" (
|
||||
ctx@{ config, inputs', ... }:
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${"x86_64-linux"};
|
||||
extraSpecialArgs = {
|
||||
inherit inputs inputs';
|
||||
packages = config.packages;
|
||||
};
|
||||
modules = [
|
||||
(
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.username = "nathan";
|
||||
home.homeDirectory = "/home/nathan/";
|
||||
programs.command-not-found.enable = true;
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue