This commit is contained in:
2025-08-04 16:01:18 +03:00
parent 52b6290e1c
commit 20ad33b742
8 changed files with 93 additions and 14 deletions
+8 -4
View File
@@ -1,11 +1,11 @@
{ inputs, ... }@flakeContext:
let
homeModule =
{
{
config,
lib,
pkgs,
deviceType
deviceType,
...
}:
{
@@ -13,7 +13,7 @@ let
inputs.self.homeModules.${deviceType}
];
home = {
username = inputs.zeroq.devices.admin;
username = "${inputs.zeroq.devices.admin}";
stateVersion = lib.mkDefault "25.05";
homeDirectory = lib.mkDefault "/home/${config.home.username}";
enableNixpkgsReleaseCheck = false;
@@ -24,7 +24,7 @@ let
config,
lib,
pkgs,
deviceType
deviceType,
...
}:
{
@@ -47,6 +47,10 @@ let
users.${inputs.zeroq.devices.admin} = homeModule;
users.root = rootModule;
sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
# extraSpecialArgs = {
# inherit inputs;
# inherit (config.device.type) deviceType;
# };
};
};
in
+2 -2
View File
@@ -4,8 +4,8 @@
pkgs,
...
}:
{
programs = {
{
programs = {
btop.enable = true;
broot.enable = true;
bottom.enable = true;
+59
View File
@@ -0,0 +1,59 @@
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
let
# Paths
beetsPath = "${inputs.zeroq.dirs.wsl-storage}/beets/linux";
#sshPath = "${inputs.zeroq.dirs.storage}/ssh/${inputs.zeroq.devices.server.hostname}";
musicPath = "${config.home.homeDirectory}/External/Music";
externalPath = "${inputs.zeroq.dirs.wsl-home}";
in
{
xdg = {
enable = true;
autostart.enable = true;
configFile = {
"beets" = {
source = config.lib.file.mkOutOfStoreSymlink beetsPath;
target = "beets";
};
};
# userDirs = {
# enable = false;
# createDirectories = false;
# desktop = null;
# documents = null;
# download = null;
# music = null;
# pictures = null;
# publicShare = null;
# templates = null;
# videos = null;
# };
};
home = {
#username = "${inputs.zeroq.devices.admin}";
file = {
"External" = {
source = config.lib.file.mkOutOfStoreSymlink externalPath;
target = "External";
};
"Music" = {
source = config.lib.file.mkOutOfStoreSymlink musicPath;
target = "${config.home.homeDirectory}/Music";
};
};
# pointerCursor = {
# enable = true;
# x11.enable = true;
# gtk.enable = true;
# size = 24;
# name = "Qogir";
# package = pkgs.qogir-icon-theme;
# };
};
}
+1 -1
View File
@@ -42,7 +42,7 @@ let
};
home = {
username = "${inputs.zeroq.devices.admin}";
#username = "${inputs.zeroq.devices.admin}";
file = {
"External" = {
source = config.lib.file.mkOutOfStoreSymlink externalPath;