mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
one win
This commit is contained in:
+8
-4
@@ -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
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs = {
|
||||
{
|
||||
programs = {
|
||||
btop.enable = true;
|
||||
broot.enable = true;
|
||||
bottom.enable = true;
|
||||
|
||||
@@ -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
@@ -42,7 +42,7 @@ let
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "${inputs.zeroq.devices.admin}";
|
||||
#username = "${inputs.zeroq.devices.admin}";
|
||||
file = {
|
||||
"External" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink externalPath;
|
||||
|
||||
Reference in New Issue
Block a user