mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 19:45:40 +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
|
@ -1,24 +0,0 @@
|
|||
{ 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;
|
||||
moduleFiles = builtins.attrNames (builtins.readDir modulesPath);
|
||||
in
|
||||
map (module: modulesPath + ("/" + module)) moduleFiles
|
||||
);
|
||||
|
||||
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