Compare commits

..

No commits in common. "03b6a3a9e8b0cc4043c2089ba2517ff616926603" and "c43d96fe2a5f430910de6e383446123ab42e23e1" have entirely different histories.

2 changed files with 10 additions and 49 deletions

View file

@ -26,7 +26,7 @@ in
}; };
# hack, homemanager needs it # hack, homemanager needs it
programs.dconf.enable = true; environment.systemPackages = [ pkgs.dconf ];
# build failure # build failure
programs.nix-ld.enable = false; programs.nix-ld.enable = false;

View file

@ -1,50 +1,11 @@
topLevel: { {
flake.modules.nixos."hosts/wsl" = config,
{ ...
inputs, }:
lib, let
... in
}: {
{ flake.modules.nixos."hosts/wsl" = {
nixpkgs = {
config.allowUnfree = true;
hostPlatform = lib.systems.elaborate "x86_64-linux";
};
programs.dconf.enable = true;
imports = };
with topLevel.config.flake.modules.nixos;
[
inputs.nixos-wsl.nixosModules.default
base
cholli
]
++ [
{
home-manager.users.cholli = {
imports = with topLevel.config.flake.modules.homeManager; [
inputs.catppuccin.homeModules.catppuccin
# components
base
# Activate all user based config
cholli
];
};
}
];
wsl = {
enable = true;
defaultUser = topLevel.config.flake.meta.users.cholli.username;
usbip = {
enable = true;
autoAttach = [ "3-1" ];
};
};
};
} }