mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
feat: refactor home-manager configuration for multi-host support
This commit is contained in:
parent
f20c875a48
commit
6d1fd47bea
47 changed files with 51 additions and 14 deletions
25
home/hosts/wsl.nix
Normal file
25
home/hosts/wsl.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
inputs.nixcord.homeModules.nixcord
|
||||
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
] ++ (
|
||||
let
|
||||
modulesPath = ../modules;
|
||||
cliModules = builtins.attrNames (builtins.readDir (modulesPath + "/cli/"));
|
||||
in
|
||||
map (module: modulesPath + "/cli/${module}") cliModules
|
||||
);
|
||||
|
||||
home = {
|
||||
username = "toast";
|
||||
homeDirectory = "/home/toast";
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue