Compare commits

..

No commits in common. "0b09699cc5f2e4f66d04520084b0e153c46010dd" and "dc95d6fd776905634d5e7cca7bb35818c6cd0332" have entirely different histories.

7 changed files with 148 additions and 152 deletions

View file

@ -4,7 +4,11 @@
system.stateVersion = "25.11";
custom = {
custom =
let
privateDomain = config.custom.networking.overlay.domain;
in
{
boot.loader.grub.enable = true;
networking = {
@ -26,7 +30,7 @@
syncthing = {
enable = true;
isServer = true;
gui.domain = "syncthing.${config.custom.networking.overlay.domain}";
gui.domain = "syncthing.${privateDomain}";
doBackups = true;
};
@ -36,40 +40,40 @@
web-services = {
atuin = {
enable = true;
domain = "atuin.${config.custom.networking.overlay.domain}";
domain = "atuin.${privateDomain}";
};
filebrowser = {
enable = true;
domain = "files.${config.custom.networking.overlay.domain}";
domain = "files.${privateDomain}";
doBackups = true;
};
radicale = {
enable = true;
domain = "dav.${config.custom.networking.overlay.domain}";
domain = "dav.${privateDomain}";
doBackups = true;
};
actualbudget = {
enable = true;
domain = "budget.${config.custom.networking.overlay.domain}";
domain = "budget.${privateDomain}";
doBackups = true;
};
karakeep = {
enable = true;
domain = "bookmarks.${config.custom.networking.overlay.domain}";
domain = "bookmarks.${privateDomain}";
};
grafana = {
enable = true;
domain = "grafana.${config.custom.networking.overlay.domain}";
domain = "grafana.${privateDomain}";
};
gatus = {
enable = true;
domain = "status.${config.custom.networking.overlay.domain}";
domain = "status.${privateDomain}";
generateDefaultEndpoints = true;
};
};

View file

@ -67,6 +67,8 @@
MAXTEMP=hwmon2/pwm2=100
MINSTART=hwmon2/pwm2=35
MINSTOP=hwmon2/pwm2=25
MINPWM=hwmon2/pwm2=0
MAXPWM=hwmon2/pwm2=255
'';
};
}

View file

@ -4,7 +4,11 @@
system.stateVersion = "25.11";
custom = {
custom =
let
sproutedDomain = "sprouted.cloud";
in
{
boot.loader.systemd-boot.enable = true;
networking = {
@ -26,43 +30,47 @@
];
};
web-services = {
web-services =
let
sstorkDomain = "sstork.dev";
in
{
personal-blog = {
enable = true;
domain = "sstork.dev";
domain = sstorkDomain;
};
forgejo = {
enable = true;
domain = "git.sstork.dev";
domain = "git.${sstorkDomain}";
doBackups = true;
};
outline = {
enable = true;
domain = "wiki.sprouted.cloud";
domain = "wiki.${sproutedDomain}";
doBackups = true;
};
it-tools = {
enable = true;
domain = "it-tools.sprouted.cloud";
domain = "it-tools.${sproutedDomain}";
};
networking-toolbox = {
enable = true;
domain = "net-tools.sprouted.cloud";
domain = "net-tools.${sproutedDomain}";
};
privatebin = {
enable = true;
domain = "pastebin.sprouted.cloud";
domain = "pastebin.${sproutedDomain}";
branding.name = "SproutedBin";
};
screego = {
enable = true;
domain = "mirror.sprouted.cloud";
domain = "mirror.${sproutedDomain}";
};
};
};

View file

@ -18,11 +18,8 @@
services = {
wpaperd.enable = true;
hypridle.enable = true;
cliphist.enable = true;
hypridle = {
enable = true;
lockCommand = "pidof hyprlock || hyprlock";
};
};
};

View file

@ -14,13 +14,7 @@
noctalia-shell.enable = true;
};
services = {
cliphist.enable = true;
hypridle = {
enable = true;
lockCommand = "noctalia-shell ipc call lockScreen lock";
};
};
services.cliphist.enable = true;
};
home.packages = [ pkgs.grimblast ];
@ -41,8 +35,8 @@
bind = SUPER, V, exec, $ipc launcher clipboard
# Manage session
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
bindrl = SUPER CONTROL, S, exec, systemctl sleep
bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock
bindrl = SUPER CONTROL, S, exec, $ipc sessionMenu lockAndSuspend
'';
};
}

View file

@ -96,7 +96,7 @@
largeButtonsStyle = false;
countdownDuration = 3000;
};
idle.enabled = false;
idle.enabled = true;
audio.mprisBlacklist = [ "firefox" ];
network.bluetoothAutoConnect = false;
location = {

View file

@ -4,26 +4,17 @@
lib,
...
}:
let
cfg = config.custom.services.hypridle;
in
{
options.custom.services.hypridle = {
enable = lib.mkEnableOption "";
lockCommand = lib.mkOption {
type = lib.types.nonEmptyStr;
default = "";
};
};
options.custom.services.hypridle.enable = lib.mkEnableOption "";
config = lib.mkIf cfg.enable {
config = lib.mkIf config.custom.services.hypridle.enable {
services.hypridle = {
enable = true;
package = pkgs-unstable.hypridle;
settings = {
general = {
lock_cmd = cfg.lockCommand;
lock_cmd = lib.mkIf config.custom.programs.hyprlock.enable "pidof hyprlock || hyprlock";
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch dpms on";
};