Compare commits

..

3 Commits

Author SHA1 Message Date
b3ac24719a move xdg.userDirs config to modules/shared/user
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-06-17 14:33:53 +03:00
f8d4b52394 services/kanshi: change
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-06-17 14:33:53 +03:00
4abde43c61 hosts: rename module
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-06-17 14:33:53 +03:00
9 changed files with 45 additions and 35 deletions

View File

@ -5,7 +5,7 @@
... ...
}: { }: {
imports = with inputs; [ imports = with inputs; [
self.nixosModules.shared self.modules.shared.nixos
self.nixosModules.desktop self.nixosModules.desktop
self.nixosModules.system self.nixosModules.system
./disko ./disko

View File

@ -1,6 +1,6 @@
{inputs, ...}: { {inputs, ...}: {
imports = with inputs; [ imports = with inputs; [
self.nixosModules.shared self.modules.shared.nixos
self.nixosModules.desktop self.nixosModules.desktop
self.nixosModules.system self.nixosModules.system
./disko ./disko

View File

@ -4,7 +4,7 @@
... ...
}: { }: {
imports = with inputs; [ imports = with inputs; [
self.nixosModules.shared self.modules.shared.nixos
self.nixosModules.desktop self.nixosModules.desktop
self.nixosModules.system self.nixosModules.system
./disko ./disko

View File

@ -7,7 +7,7 @@
imports = with inputs; [ imports = with inputs; [
self.nixosModules.desktop self.nixosModules.desktop
self.nixosModules.system self.nixosModules.system
self.nixosModules.shared self.modules.shared.nixos
./disko ./disko
./hardware ./hardware
./misc ./misc

View File

@ -1,5 +1,4 @@
{ {
imports = [ imports = [
./xdg-userdirs.nix
]; ];
} }

View File

@ -1,17 +0,0 @@
{config, ...}: let
inherit (config.home) homeDirectory;
home = f: "${homeDirectory}/${f}";
in {
xdg.userDirs = {
enable = true;
createDirectories = true;
templates = home "temps";
publicShare = home "pub";
desktop = home "desktop";
download = home "downloads";
documents = home "docs";
pictures = home "pics";
videos = home "vids";
music = home "music";
};
}

View File

@ -1,6 +1,6 @@
{ {
imports = [ imports = [
./common # ./common
./cosmic ./cosmic
./gnome ./gnome
./hyprland ./hyprland

View File

@ -17,6 +17,13 @@
adaptiveSync = true; adaptiveSync = true;
}; };
} }
{
output = {
criteria = second;
mode = "1920x1080@74.973";
adaptiveSync = true;
};
}
{ {
output = { output = {
criteria = builtin.eldrid; criteria = builtin.eldrid;
@ -33,19 +40,19 @@
# adaptiveSync = true; # adaptiveSync = true;
}; };
} }
{
output = {
criteria = second;
mode = "1920x1080@74.973";
position = "1920,0";
transform = "90";
adaptiveSync = true;
};
}
{ {
profile = { profile = {
name = "dunamis"; name = "dunamis";
outputs = [{criteria = main;} {criteria = second;}]; outputs = [
{criteria = main;}
{
criteria = second;
position = "1920,180";
scale = 1.2;
# transform = "90";
adaptiveSync = true;
}
];
}; };
} }
{ {

View File

@ -1,4 +1,5 @@
{ {
config,
inputs, inputs,
osConfig, osConfig,
... ...
@ -8,7 +9,27 @@
self.homeModules.desktop self.homeModules.desktop
self.homeModules.programs self.homeModules.programs
]; ];
inherit (osConfig) desktop; inherit (osConfig) desktop;
home.stateVersion = osConfig.system.stateVersion;
home.sessionPath = ["$HOME/.local/bin"]; home = {
inherit (osConfig.system) stateVersion;
sessionPath = ["$HOME/.local/bin"];
};
xdg.userDirs = let
inherit (config.home) homeDirectory;
homeDir = f: "${homeDirectory}/${f}";
in {
enable = true;
createDirectories = true;
templates = homeDir "temps";
publicShare = homeDir "pub";
desktop = homeDir "desktop";
download = homeDir "downloads";
documents = homeDir "docs";
pictures = homeDir "pics";
videos = homeDir "vids";
music = homeDir "music";
};
} }