mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
Init:start-nix
This commit is contained in:
35
home/default.nix
Normal file
35
home/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
hostname,
|
||||
lib,
|
||||
username,
|
||||
...
|
||||
}: let
|
||||
inherit (import ../hosts/${hostname}/env.nix) StateVersion;
|
||||
ls = lib.filesystem.listFilesRecursive;
|
||||
in {
|
||||
imports =
|
||||
ls ./cli
|
||||
++ ls ./gui
|
||||
++ ls ./tui
|
||||
++ ls ./wayland;
|
||||
|
||||
home = {
|
||||
file = {
|
||||
".config" = {
|
||||
force = true;
|
||||
recursive = true;
|
||||
source = ../dotfiles/.config;
|
||||
};
|
||||
".local" = {
|
||||
force = true;
|
||||
recursive = true;
|
||||
source = ../dotfiles/.local;
|
||||
};
|
||||
};
|
||||
homeDirectory = "/home/${username}";
|
||||
stateVersion = StateVersion;
|
||||
username = "${username}";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user