many changes i made in the last weeks

This commit is contained in:
Sebastian Moser
2026-07-31 00:51:01 +02:00
parent 5b895c54dc
commit 180af16d35
64 changed files with 11633 additions and 1364 deletions

View File

@@ -1,4 +1,4 @@
{ lib, inputs, self, secretsDir, specialArgs, pkgsUnstable, ... }:
{ lib, inputs, self, secretsDir, specialArgs, pkgsUnstable, config, ... }:
# config that i use on all my hosts
@@ -8,7 +8,7 @@
];
home-manager.extraSpecialArgs = specialArgs // { inherit pkgsUnstable; };
home-manager.extraSpecialArgs = specialArgs // { inherit pkgsUnstable; hostName = config.networking.hostName; };
programs.dconf.enable = true;

View File

@@ -8,7 +8,7 @@
# - win + D command
# - kernel output for luks pwd on all displays
{ lib, pkgs, nur, unstable, inputs, ... }:
{ lib, pkgs, nur, unstable, inputs, config, ... }:
let
newerUnstableSrc = builtins.getFlake "nixpkgs/d0fc30899600b9b3466ddb260fd83deb486c32f1";
@@ -269,6 +269,18 @@ in {
### Output configuration
output * scale 1 bg #121212 solid_color
### always open alacritty on super+f
exec_always --no-startup-id alacritty --class scratchterm
for_window [app_id="scratchterm"] move scratchpad
bindsym $mod+f [app_id="scratchterm"] scratchpad show
for_window [app_id="scratchterm"] {
floating enable
resize set width 2400 px height 1400 px
move position center
move scratchpad
}
#################### from nwg-display
# Generated by nwg-displays on 2025-10-20 at 18:16:29. Do not edit manually.
@@ -374,6 +386,9 @@ output "HDMI-A-1" {
### Key bindings
# ppc ne
bindsym F12 exec ppc ne
bindsym F11 exec ppc ne -b
bindsym XF86AudioRaiseVolume exec ppc ne
bindsym XF86AudioLowerVolume exec ppc ne -b
# QuickLaunch
bindsym $mod+i mode "QuickLaunch"
@@ -620,29 +635,39 @@ output "HDMI-A-1" {
position = "top";
modules-left = [
"group/options"
"sway/workspaces"
"sway/window#protocol"
"sway/window#name"
#"group/options"
"custom/timetrack_current"
];
modules-center = [
"clock"
];
modules-right = [
"sway/window#protocol"
"sway/window#name"
"tray"
"pulseaudio"
"custom/gpu"
"memory"
"cpu"
"temperature"
"battery"
"disk"
"clock"
#"pulseaudio"
#"custom/gpu"
#"memory"
#"cpu"
#"temperature"
#"disk"
#"sway/workspaces"
];
"custom/timetrack_current" = {
"exec" =
if config.networking.hostName == "main" then "~/work/config/target/debug/timetrack-waybar"
else if config.networking.hostName == "mac" then "/data/external/config/target/debug/timetrack-waybar"
else "~/here/config/target/debug/timetrack-waybar";
"tail" = true;
};
"custom/separator" = {
format = " ";
tooltip = false;
};
"custom/options" = {
format = " ";
tooltip = false;

View File

@@ -43,7 +43,7 @@
# the hosts file
networking.extraHosts = ''
${builtins.readFile "${self}/misc/my-hosts"}
${builtins.readFile "${self}/misc/my-hosts-t"}
${builtins.readFile "${self}/mods/my-hosts"}
${builtins.readFile "${self}/mods/my-hosts-t"}
'';
}