aboutsummaryrefslogtreecommitdiff
path: root/hosts/nyaan/home.nix
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-03-26 22:08:04 +0100
committerIsabella Bastaja <isabella@sorre.xyz>2026-03-26 23:16:31 +0100
commit8e7ea4e41ccd7a40b2cc0514a6cb37fd1e17ffa2 (patch)
tree48f2ca03e914830faabbd51a31662ee350f93bc8 /hosts/nyaan/home.nix
parentd39df2cb4bc592d45d2312b48355480cfd484710 (diff)
add nyaan host
Diffstat (limited to 'hosts/nyaan/home.nix')
-rw-r--r--hosts/nyaan/home.nix66
1 files changed, 66 insertions, 0 deletions
diff --git a/hosts/nyaan/home.nix b/hosts/nyaan/home.nix
new file mode 100644
index 0000000..f982160
--- /dev/null
+++ b/hosts/nyaan/home.nix
@@ -0,0 +1,66 @@
+{
+ flakeRoot,
+ inputs,
+ pkgs,
+ config,
+ ...
+}:
+ {
+ home-manager = {
+ useGlobalPkgs = true;
+ useUserPackages = true;
+ sharedModules = [ { programs.fish.enable = true; } ];
+ extraSpecialArgs = {
+ inherit inputs;
+ };
+ };
+
+ home-manager.users.isabella = {
+ imports = [
+ (flakeRoot + /share/cfg)
+ (flakeRoot + /share/home/minimal.nix)
+ (flakeRoot + /share/home/dev-stuff.nix)
+ (flakeRoot + /share/home/shell.nix)
+ (flakeRoot + /share/home/gui-tools.nix)
+ # (flakeRoot + /share/home/gaming.nix)
+ (flakeRoot + /share/home/niri.nix)
+ ];
+
+ programs.tofi.enable = true;
+
+ xdg = {
+ systemDirs.data =
+ let
+ gds = pkgs.gsettings-desktop-schemas;
+ gtk3 = pkgs.gtk3;
+ in
+ [
+ "${gds}/share/gsettings-schemas/${gds.name}"
+ "${gtk3}/share/gsettings-schemas/${gtk3.name}"
+ ];
+ userDirs =
+ let
+ home = config.home-manager.users.isabella.home.homeDirectory;
+ annex = "${home}/Annex";
+ in
+ {
+ enable = true;
+ createDirectories = true;
+
+ # Disable dirs that I don't use
+ desktop = null;
+ publicShare = null;
+ templates = null;
+ pictures = "${annex}/Pictures";
+ music = "${annex}/Music";
+ documents = "${annex}/Documents";
+ download = "${home}/Downloads";
+ };
+ portal.xdgOpenUsePortal = true;
+ };
+
+ home.stateVersion = "25.11";
+ };
+
+ home-manager.users.root.home.stateVersion = "25.11";
+}