From 2766a4197fc353ed7cf1c0eb461a490de02ff164 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:29:47 +0100 Subject: [PATCH 01/30] fix: switch to new formatting --- hosts/imilia/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/imilia/default.nix b/hosts/imilia/default.nix index 1478b0e..79d35b6 100644 --- a/hosts/imilia/default.nix +++ b/hosts/imilia/default.nix @@ -58,8 +58,11 @@ cpuFreqGovernor = lib.mkDefault "performance"; }; - services.logind.lidSwitchDocked = "ignore"; - services.logind.lidSwitch = "ignore"; + services.logind.settings.Login = { + HandleLidSwitch = "suspend"; + HandleLidSwitchDocked = "ignore"; + }; + boot = { kernelModules = [ "acpi_call" ]; kernelPackages = pkgs.linuxPackages_latest; From 6728fcd5fdc67a3d208405f9b52ab92e7ee94fa3 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:30:11 +0100 Subject: [PATCH 02/30] fix: get mac spoofing for ethernet to work, switch to new formatting --- hosts/sakura/default.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 0343137..768b9f1 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -5,6 +5,9 @@ lib, ... }: +let + mac_ethernet = "13:37:00:00:00:01"; +in { imports = [ ./hardware-configuration.nix @@ -14,6 +17,8 @@ ./../../modules/services/mpd.nix ./../../modules/services/smart-monitoring.nix inputs.nixos-hardware.nixosModules.framework-13-7040-amd + ./../../modules/security/dnscrypt.nix + ./../../modules/security/syslogd.nix ]; # install some system-utilities; set hosts to be editable by the user. @@ -51,13 +56,25 @@ # networkmanager.ethernet.macAddress = "13:37:6a:8a:ed:a4"; }; + environment.etc."NetworkManager/conf.d/20-ethernet-mac-address.conf".text = '' + [connection.20-ethernet-mac-addr] + match-device=type:ethernet + ethernet.cloned-mac-address=${mac_ethernet} + + [.config] + enable=nm-version-min:1.45 + ''; + powerManagement = { enable = true; # powertop.enable = true; cpuFreqGovernor = lib.mkDefault "ondemand"; }; - services.logind.lidSwitchDocked = "ignore"; + services.logind.settings.Login = { + HandleLidSwitch = "suspend"; + HandleLidSwitchDocked = "ignore"; + }; # change battery led to blue on suspend to indicate device is in suspend mode systemd.services."suspend-led-set" = { @@ -81,7 +98,6 @@ systemd.sleep.extraConfig = '' HibernateDelaySec=30m ''; - services.logind.lidSwitch = "suspend"; boot = { kernelParams = [ "mem_sleep_default=deep" From 4385737912eaace3b83a824896174bbd76edfe30 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:30:31 +0100 Subject: [PATCH 03/30] feat: enable `services.pcscd` --- modules/core/yubikey.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/yubikey.nix b/modules/core/yubikey.nix index 1fdad61..2ab5760 100644 --- a/modules/core/yubikey.nix +++ b/modules/core/yubikey.nix @@ -18,6 +18,7 @@ }; services = { + pcscd.enable = true; login.u2fAuth = false; greetd.u2fAuth = false; sudo.u2fAuth = true; @@ -28,7 +29,6 @@ true else false; - # No longer using Hyprlock, might stay here for if I ever switch to it again. hyprlock.u2fAuth = false; hyprlock.fprintAuth = if (host == "sakura") then From 2680d7072aa5071ba18cd1da150e052195bbc227 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:31:12 +0100 Subject: [PATCH 04/30] fix: switch to `stdenv` --- modules/home/hyprland/hyprland.nix | 4 ++-- modules/home/packages.nix | 4 ++-- modules/home/packages.server.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index 283e464..097d236 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -2,7 +2,7 @@ { home.packages = with pkgs; [ swww - inputs.hypr-contrib.packages.${pkgs.system}.grimblast + inputs.hypr-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast hyprpicker grim slurp @@ -10,7 +10,7 @@ glib wayland direnv - inputs.hyprsunset.packages.${pkgs.system}.hyprsunset + inputs.hyprsunset.packages.${pkgs.stdenv.hostPlatform.system}.hyprsunset ]; # systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ]; wayland.windowManager.hyprland = { diff --git a/modules/home/packages.nix b/modules/home/packages.nix index d2e573b..93e9d3f 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -78,8 +78,8 @@ # pip install --user --break-system-packages # '') - inputs.alejandra.defaultPackage.${system} - inputs.nixvim.packages.${pkgs.system}.default + inputs.alejandra.defaultPackage.${pkgs.stdenv.hostPlatform.system} + inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default mermaid-cli gnuplot diff --git a/modules/home/packages.server.nix b/modules/home/packages.server.nix index a1ee999..4aa8f2e 100644 --- a/modules/home/packages.server.nix +++ b/modules/home/packages.server.nix @@ -27,7 +27,7 @@ wget xxd borgbackup - inputs.alejandra.defaultPackage.${system} - inputs.nixvim.packages.${pkgs.system}.default + inputs.alejandra.defaultPackage.${pkgs.stdenv.hostPlatform.system} + inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default ]; } From 0d158eb6d56cb115d282b94bd3f7894f539512c0 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:31:51 +0100 Subject: [PATCH 05/30] feat: install aerc, will confiure with nix at some point --- modules/home/packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/packages.nix b/modules/home/packages.nix index 93e9d3f..84d23cc 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -70,6 +70,7 @@ sshpass net-tools nmap + aerc # Install pip packages # python3 From 5e2e5d64bbe53f51c630e679397a9cf492191a7e Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:32:27 +0100 Subject: [PATCH 06/30] feat: adds function so `foot` works with `sway` titlebars and `zsh` --- modules/home/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index f5f3c89..44e1598 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -167,6 +167,9 @@ # alias imv="nsxiv" # alias sxiv="nsxiv" # fi + function preexec { + print -Pn "\e]0;$\{(q)1}\e\\" + } ''; zsh-abbr = { From 5a6f30c6cec91404cf6dad0105d71ebf6ae5813a Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:32:44 +0100 Subject: [PATCH 07/30] feat: write `syslogd` service --- modules/security/syslogd.nix | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/security/syslogd.nix diff --git a/modules/security/syslogd.nix b/modules/security/syslogd.nix new file mode 100644 index 0000000..2ee256a --- /dev/null +++ b/modules/security/syslogd.nix @@ -0,0 +1,46 @@ +{ lib, ... }: +{ + services.syslogd = { + enable = true; + enableNetworkInput = lib.mkForce false; + tty = ""; + defaultConfig = '' + local1.* -/var/log/dhcpd + + *.=warning;*.=err -/var/log/warn + *.crit /var/log/warn + + *.*;mail.none;local1.none -/var/log/messages + + auth,authpriv.* /var/log/auth.log + *.*;auth,authpriv.none -/var/log/syslog + cron.* /var/log/cron.log + daemon.* -/var/log/daemon.log + kern.* -/var/log/kern.log + lpr.* -/var/log/lpr.log + mail.* /var/log/mail.log + user.* -/var/log/user.log + uucp.* -/var/log/uucp.log + local6.debug /var/log/imapd.log + + mail.info -/var/log/mail.info + mail.warn -/var/log/mail.warn + mail.err /var/log/mail.err + + *.=debug;\ + auth,authpriv.none;\ + news.none;mail.none -/var/log/debug + *.=info;*.=notice;*.=warn;\ + auth,authpriv.none;\ + cron,daemon.none;\ + mail,news.none -/var/log/messages + daemon,mail.*;\ + news.=crit;news.=err;news.=notice;\ + *.=debug;*.=info;\ + *.=notice;*.=warn /dev/tty8 + + *.emerg * + *.=alert * + ''; + }; +} From 837dba9433e08900b03301762e64cac79fcee054 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:38:18 +0100 Subject: [PATCH 08/30] feat: write `dnscrypt` configuration --- modules/security/dnscrypt.nix | 56 +++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 modules/security/dnscrypt.nix diff --git a/modules/security/dnscrypt.nix b/modules/security/dnscrypt.nix new file mode 100644 index 0000000..377fea7 --- /dev/null +++ b/modules/security/dnscrypt.nix @@ -0,0 +1,56 @@ +{ + config, + lib, + pkgs, + inputs, + host, + ... +}: +let + ipv6 = false; # We don't have IPv6 yet sadly + blocklist_base = builtins.readFile inputs.oisd; + extraBlocklist = ''''; + blocklist_txt = pkgs.writeText "blocklist.txt" '' + ${extraBlocklist} + ${blocklist_base} + ''; +in +{ + services.dnscrypt-proxy = { + enable = true; + # See https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-dnscrypt-proxy.toml + settings = { + sources.public-resolvers = { + urls = [ + "https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md" + "https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md" + ]; + minisign_key = "sha256-6MVFxJJF/mwjWtCJ77s0YUYWm2rMTvnycHGya2JNGEE="; # See https://github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/public-resolvers.md + cache_file = "/var/lib/dnscrypt/public-resolvers.md"; + }; + + # Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity + ipv6_servers = ipv6; + block_ipv6 = !(ipv6); + + require_dnssec = true; + require_nolog = true; + require_nofilter = true; + + # If you want, choose a specific set of servers that come from your sources. + # Here it's from https://github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/public-resolvers.md + # If you don't specify any, dnscrypt-proxy will automatically rank servers + # that match your criteria and choose the best one. + # server_names = [ ... ]; + blocked_names.blocked_names_file = blocklist_txt; + }; + }; + + systemd.services.dnscrypt-proxy.serviceConfig.StateDirectory = "dnscrypt-proxy"; + + networking.networkmanager.dns = "none"; # set system DNS to not get random records from DHCP + programs.captive-browser = { + enable = true; # enable dedicated Chromium instance to deal with captive portals without messing with system DNS settings + interface = if (host == "sakura") then "wlp1s0" else "null"; # TODO: add hostnames for more devices + }; +} From 63faa1f795a70d7385509ff7a8ff790ed66e4631 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:38:30 +0100 Subject: [PATCH 09/30] feat: import `syslogd` and `dnscrypt` --- modules/security/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/security/default.nix diff --git a/modules/security/default.nix b/modules/security/default.nix new file mode 100644 index 0000000..1495a84 --- /dev/null +++ b/modules/security/default.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + imports = + [ (import ./dnscrypt.nix) ] + # ++ [ (import ../opensnitch.nix) ] + ++ [ (import ./syslogd.nix) ]; +} From c7783b911dc72e6943ab7e9c4e9e61c2076e0387 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:38:48 +0100 Subject: [PATCH 10/30] chore(wip): get started with `opensnitch` --- modules/security/opensnitch.nix | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 modules/security/opensnitch.nix diff --git a/modules/security/opensnitch.nix b/modules/security/opensnitch.nix new file mode 100644 index 0000000..b24810a --- /dev/null +++ b/modules/security/opensnitch.nix @@ -0,0 +1,5 @@ +{ + services.opensnitch = { + enable = true; + }; +} From 00efec076a390c963e4152e1bdc0555fe9713a48 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:39:16 +0100 Subject: [PATCH 11/30] feat: adds some `tailscale` options to make it less annoying --- modules/services/tailscale.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/services/tailscale.nix b/modules/services/tailscale.nix index d886410..587b82a 100644 --- a/modules/services/tailscale.nix +++ b/modules/services/tailscale.nix @@ -1,3 +1,10 @@ { - services.tailscale.enable = true; + services.tailscale = { + enable = true; + useRoutingFeatures = "client"; + extraUpFlags = [ + # "--accept-dns=false" + "--accept-routes" + ]; + }; } From f09a9cc190604b2b42c0427799a721ff0c292924 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:39:25 +0100 Subject: [PATCH 12/30] flake: adds `oisd` --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 53d9727..0f26ba3 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,8 @@ sops-nix.url = "github:Mic92/sops-nix"; disko.url = "github:nix-community/disko/latest"; spicetify-nix.url = "github:Gerg-L/spicetify-nix"; + oisd.url = "https://big.oisd.nl/domainswild"; + oisd.flake = false; }; outputs = @@ -25,6 +27,7 @@ nixpkgs, sops-nix, disko, + oisd, ... }@inputs: let From e2fc6f27e751f9bb39d5f6e0643d95cf17dec5e8 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:39:37 +0100 Subject: [PATCH 13/30] flake: update --- flake.lock | 279 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 161 insertions(+), 118 deletions(-) diff --git a/flake.lock b/flake.lock index fa411eb..39215c6 100644 --- a/flake.lock +++ b/flake.lock @@ -41,11 +41,11 @@ ] }, "locked": { - "lastModified": 1760101617, - "narHash": "sha256-8jf/3ZCi+B7zYpIyV04+3wm72BD7Z801IlOzsOACR7I=", + "lastModified": 1762356719, + "narHash": "sha256-qwd/xdoOya1m8FENle+4hWnydCtlXUWLAW/Auk6WL7s=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "1826a9923881320306231b1c2090379ebf9fa4f8", + "rev": "6d0b3567584691bf9d8fedb5d0093309e2f979c7", "type": "github" }, "original": { @@ -235,11 +235,11 @@ ] }, "locked": { - "lastModified": 1762183399, - "narHash": "sha256-vr2aL1QLfERYTfYBgK8cW3T9eSdSEThH462wKaGlmEU=", + "lastModified": 1762721397, + "narHash": "sha256-E428EuouA4nFTNlLuqlL4lVR78X+EbBIqDqsBFnB79w=", "owner": "nix-community", "repo": "home-manager", - "rev": "a5fee077929ae2f2800c3087dce5e1abb4edfbc6", + "rev": "b8645b18b0f5374127bbade6de7381ef0b3d5720", "type": "github" }, "original": { @@ -311,11 +311,11 @@ ] }, "locked": { - "lastModified": 1760445448, - "narHash": "sha256-fXGjL6dw31FPFRrmIemzGiNSlfvEJTJNsmadZi+qNhI=", + "lastModified": 1762462052, + "narHash": "sha256-6roLYzcDf4V38RUMSqycsOwAnqfodL6BmhRkUtwIgdA=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "50fb9f069219f338a11cf0bcccb9e58357d67757", + "rev": "ffc999d980c7b3bca85d3ebd0a9fbadf984a8162", "type": "github" }, "original": { @@ -329,8 +329,8 @@ "aquamarine": "aquamarine", "hyprcursor": "hyprcursor", "hyprgraphics": "hyprgraphics", + "hyprland-guiutils": "hyprland-guiutils", "hyprland-protocols": "hyprland-protocols", - "hyprland-qtutils": "hyprland-qtutils", "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", @@ -342,11 +342,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1761869718, - "narHash": "sha256-CiKN7TRaCk3MF/FAwCMEO91TKFWS6bONhF8mhYPKhAU=", + "lastModified": 1762755326, + "narHash": "sha256-lXEBpx5Q2LdGZCXKTa1v7NhlaSxOvcvnepRi0r38+jg=", "ref": "refs/heads/main", - "rev": "8e9add2afda58d233a75e4c5ce8503b24fa59ceb", - "revCount": 6549, + "rev": "0b1d690676589503f0addece30e936a240733699", + "revCount": 6564, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -357,6 +357,52 @@ "url": "https://github.com/hyprwm/Hyprland" } }, + "hyprland-guiutils": { + "inputs": { + "aquamarine": [ + "hyprland", + "aquamarine" + ], + "hyprgraphics": [ + "hyprland", + "hyprgraphics" + ], + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "hyprtoolkit": "hyprtoolkit", + "hyprutils": [ + "hyprland", + "hyprutils" + ], + "hyprwayland-scanner": [ + "hyprland", + "hyprwayland-scanner" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1762755186, + "narHash": "sha256-ZjjETUHtoEhVN7JI1Cbt3p/KcXpK8ZQaPHx7UkG1OgA=", + "owner": "hyprwm", + "repo": "hyprland-guiutils", + "rev": "66356e20a8ed348aa49c1b9ceace786e224225b3", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-guiutils", + "type": "github" + } + }, "hyprland-protocols": { "inputs": { "nixpkgs": [ @@ -407,74 +453,6 @@ "type": "github" } }, - "hyprland-qt-support": { - "inputs": { - "hyprlang": [ - "hyprland", - "hyprland-qtutils", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "hyprland-qtutils", - "nixpkgs" - ], - "systems": [ - "hyprland", - "hyprland-qtutils", - "systems" - ] - }, - "locked": { - "lastModified": 1749154592, - "narHash": "sha256-DO7z5CeT/ddSGDEnK9mAXm1qlGL47L3VAHLlLXoCjhE=", - "owner": "hyprwm", - "repo": "hyprland-qt-support", - "rev": "4c8053c3c888138a30c3a6c45c2e45f5484f2074", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-qt-support", - "type": "github" - } - }, - "hyprland-qtutils": { - "inputs": { - "hyprland-qt-support": "hyprland-qt-support", - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "hyprutils": [ - "hyprland", - "hyprland-qtutils", - "hyprlang", - "hyprutils" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1759080228, - "narHash": "sha256-RgDoAja0T1hnF0pTc56xPfLfFOO8Utol2iITwYbUhTk=", - "owner": "hyprwm", - "repo": "hyprland-qtutils", - "rev": "629b15c19fa4082e4ce6be09fdb89e8c3312aed7", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-qtutils", - "type": "github" - } - }, "hyprlang": { "inputs": { "hyprutils": [ @@ -541,11 +519,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1761923011, - "narHash": "sha256-7wjem/IGv2+El/JWMm9c5amTU7ifX72ALK8XgmZRoiQ=", + "lastModified": 1762388741, + "narHash": "sha256-4PKO/B0C53Qb60UIXB6QjXTvWX3ap34WdcnMoH6+ng0=", "owner": "hyprwm", "repo": "hyprpicker", - "rev": "b645b892b14d0f55be7636555044836ec57c6d06", + "rev": "5ab0e1aaa489ceb807c884a73b4948d395d9e229", "type": "github" }, "original": { @@ -577,6 +555,58 @@ "type": "github" } }, + "hyprtoolkit": { + "inputs": { + "aquamarine": [ + "hyprland", + "hyprland-guiutils", + "aquamarine" + ], + "hyprgraphics": [ + "hyprland", + "hyprland-guiutils", + "hyprgraphics" + ], + "hyprlang": [ + "hyprland", + "hyprland-guiutils", + "hyprlang" + ], + "hyprutils": [ + "hyprland", + "hyprland-guiutils", + "hyprutils" + ], + "hyprwayland-scanner": [ + "hyprland", + "hyprland-guiutils", + "hyprwayland-scanner" + ], + "nixpkgs": [ + "hyprland", + "hyprland-guiutils", + "nixpkgs" + ], + "systems": [ + "hyprland", + "hyprland-guiutils", + "systems" + ] + }, + "locked": { + "lastModified": 1762463729, + "narHash": "sha256-2fYkU/mdz8WKY3dkDPlE/j6hTxIwqultsx4gMMsMns0=", + "owner": "hyprwm", + "repo": "hyprtoolkit", + "rev": "88483bdee5329ec985f0c8f834c519cd18cfe532", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprtoolkit", + "type": "github" + } + }, "hyprutils": { "inputs": { "nixpkgs": [ @@ -589,11 +619,11 @@ ] }, "locked": { - "lastModified": 1759619523, - "narHash": "sha256-r1ed7AR2ZEb2U8gy321/Xcp1ho2tzn+gG1te/Wxsj1A=", + "lastModified": 1762387740, + "narHash": "sha256-gQ9zJ+pUI4o+Gh4Z6jhJll7jjCSwi8ZqJIhCE2oqwhQ=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "3df7bde01efb3a3e8e678d1155f2aa3f19e177ef", + "rev": "926689ddb9c0a8787e58c02c765a62e32d63d1f7", "type": "github" }, "original": { @@ -759,11 +789,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1762179181, - "narHash": "sha256-T4+TNfXlF/gHbcNCC2HY7sMGBKgqNzyYeMBWmcbH7/o=", + "lastModified": 1762463231, + "narHash": "sha256-hv1mG5j5PTbnWbtHHomzTus77pIxsc4x8VrMjc7+/YE=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "256770618502d2eda892af3ae91da5e386ce9586", + "rev": "52113c4f5cfd1e823001310e56d9c8d0699a6226", "type": "github" }, "original": { @@ -805,11 +835,11 @@ }, "nixpkgs_10": { "locked": { - "lastModified": 1760596604, - "narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=", + "lastModified": 1762361079, + "narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43", + "rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5", "type": "github" }, "original": { @@ -821,11 +851,11 @@ }, "nixpkgs_11": { "locked": { - "lastModified": 1761907660, - "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", + "lastModified": 1762363567, + "narHash": "sha256-YRqMDEtSMbitIMj+JLpheSz0pwEr0Rmy5mC7myl17xs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", + "rev": "ae814fd3904b621d8ab97418f1d0f2eb0d3716f4", "type": "github" }, "original": { @@ -901,11 +931,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1761907660, - "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", + "lastModified": 1762596750, + "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", + "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e", "type": "github" }, "original": { @@ -949,11 +979,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1761907660, - "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", + "lastModified": 1762596750, + "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", + "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e", "type": "github" }, "original": { @@ -1009,11 +1039,11 @@ "nixpkgs": "nixpkgs_9" }, "locked": { - "lastModified": 1762180725, - "narHash": "sha256-Lrh11WTceP1e1AG7t2o8lNdvmiTijAZfkxD9gntpIjU=", + "lastModified": 1762784388, + "narHash": "sha256-cJz6BFvmPYQvWoWpglTc2yz12Cc3kynhpXEoapOeqcc=", "owner": "nix-community", "repo": "NUR", - "rev": "4ca815f76d28487bd3cca3de56a4777fab95525f", + "rev": "4957185b15241b9ba6e69309f7dd1da6d5206bbd", "type": "github" }, "original": { @@ -1046,6 +1076,18 @@ "type": "github" } }, + "oisd": { + "flake": false, + "locked": { + "narHash": "sha256-6MVFxJJF/mwjWtCJ77s0YUYWm2rMTvnycHGya2JNGEE=", + "type": "file", + "url": "https://big.oisd.nl/domainswild" + }, + "original": { + "type": "file", + "url": "https://big.oisd.nl/domainswild" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat", @@ -1056,11 +1098,11 @@ ] }, "locked": { - "lastModified": 1760663237, - "narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=", + "lastModified": 1762441963, + "narHash": "sha256-j+rNQ119ffYUkYt2YYS6rnd6Jh/crMZmbqpkGLXaEt0=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37", + "rev": "8e7576e79b88c16d7ee3bbd112c8d90070832885", "type": "github" }, "original": { @@ -1082,6 +1124,7 @@ "nixpkgs": "nixpkgs_6", "nixvim": "nixvim", "nur": "nur", + "oisd": "oisd", "sops-nix": "sops-nix", "spicetify-nix": "spicetify-nix" } @@ -1108,11 +1151,11 @@ "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1760998189, - "narHash": "sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY=", + "lastModified": 1762659808, + "narHash": "sha256-2Kv2mANf+FRisqhpfeZ8j9firBxb23ZvEXwdcunbpGI=", "owner": "Mic92", "repo": "sops-nix", - "rev": "5a7d18b5c55642df5c432aadb757140edfeb70b3", + "rev": "524312bc62e3f34bd9231a2f66622663d3355133", "type": "github" }, "original": { @@ -1127,11 +1170,11 @@ "systems": "systems_5" }, "locked": { - "lastModified": 1762057664, - "narHash": "sha256-mdEEvepIi8ebpGP1WWOHNvNQyd8rF0mUrKAiU6mwHCk=", + "lastModified": 1762718300, + "narHash": "sha256-oOQimZTaV1jCw0OBmmK2g7Rdj3E8YGVpkJYD32BWKRQ=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "4aa6e43d29e3c8acf544aa6782a1963a11369208", + "rev": "c7175bd485ed5052df5075fcdde395b631316e94", "type": "github" }, "original": { @@ -1243,11 +1286,11 @@ ] }, "locked": { - "lastModified": 1760713634, - "narHash": "sha256-5HXelmz2x/uO26lvW7MudnadbAfoBnve4tRBiDVLtOM=", + "lastModified": 1761431178, + "narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "753bbbdf6a052994da94062e5b753288cef28dfb", + "rev": "4b8801228ff958d028f588f0c2b911dbf32297f9", "type": "github" }, "original": { From ef172bfba3eb275d48b5300dc142b4931d8e62f5 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:40:22 +0100 Subject: [PATCH 14/30] feat: write `kanshi` module --- modules/home/kanshi.nix | 90 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 modules/home/kanshi.nix diff --git a/modules/home/kanshi.nix b/modules/home/kanshi.nix new file mode 100644 index 0000000..ef8459c --- /dev/null +++ b/modules/home/kanshi.nix @@ -0,0 +1,90 @@ +{ host, ... }: +{ + services.kanshi = { + enable = true; + + settings = { + laptops = { + outputs = + if (host == "sakura") then + [ + { + criteria = "eDP-1"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + ] + else if (host == "zinnia") then + [ + { + criteria = "eDP-1"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + ] + else if (host == "imilia") then + [ + { + criteria = "eDP-1"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + ] + else + [ + { + criteria = "eDP-1"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + ]; + }; + work = { + outputs = [ + { + criteria = "eDP-1"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + { + criteria = "HP Inc. HP E27q G5 CNC4190NG9"; + scale = 1.0; + status = "enable"; + position = "4816,0"; + } + { + criteria = "HP Inc. HP E27q G5 CNC4081M2B"; + scale = 1.0; + status = "enable"; + position = "2256,0"; + } + ]; + }; + home = { + outputs = [ + { + criteria = "eDP-1"; + status = "disable"; + } + { + criteria = "CMT GM34-CWQ CMI231700118"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + # { + # criteria = ""; + # scale = 1.0; + # status = "enable"; + # position = "0,0"; + # } + ]; + }; + }; + }; +} From 20b6e7405135a2b3c470576f9606efb62930f80f Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:43:52 +0100 Subject: [PATCH 15/30] feat: import `displaylink` again; import `security/default` --- modules/core/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/default.nix b/modules/core/default.nix index 96f0236..31e123e 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -2,8 +2,9 @@ { imports = [ (import ./docker.nix) ] + ++ [ (import ../security/default.nix) ] ++ [ (import ./hardware.nix) ] - # ++ [ (import ./displaylink.nix) ] + ++ [ (import ./displaylink.nix) ] # ++ [(import ./printing.nix)] ++ [ (import ./xserver.nix) ] ++ [ (import ./network.nix) ] From 4419534523ab232408316910b0928194d5fd581f Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:44:45 +0100 Subject: [PATCH 16/30] feat: move kanshi to own module; adds window rules; adds gestures --- modules/home/sway/default.nix | 120 +++++++++++----------------------- 1 file changed, 38 insertions(+), 82 deletions(-) diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix index 157ec74..fb53291 100644 --- a/modules/home/sway/default.nix +++ b/modules/home/sway/default.nix @@ -206,6 +206,31 @@ in wrapperFeatures = { gtk = true; }; + extraConfig = '' + set $font Ubuntu Mono + font pango:$font 7 + set $title_options text_transform='lowercase' + + # window styles + hide_edge_borders none + # title_align left + # default_border normal 4 + # for_window [all] border normal 4, floating enable + + # for_window [class="librewolf"], floating disable + # for_window [class="foot"], floating disable + # for_window [class="Element"], floating disable + # for_window [class="dino"], floating disable + # for_window [class="Signal"], floating disable + # for_window [class="libreoffice-writer"] floating disable + # for_window [class="libreoffice-calc"] floating disable + # for_window [class="libreoffice-draw"] floating disable + # for_window [class="libreoffice-math"] floating disable + # for_window [class="libreoffice-impress"] floating disable + + for_window [window_role="(?i)GtkFileChooserDialog"] resize set 720 640 + for_window [title="LibreWolf — Sharing Indicator"] border none + ''; }; home.file.".hm-graphical-session".text = pkgs.lib.concatStringsSep "\n" [ @@ -213,74 +238,6 @@ in "export NIXOS_OZONE_WL=1" # Electron ]; - services.kanshi = { - enable = true; - - profiles = { - laptops = { - outputs = - if (host == "sakura") then - [ - { - criteria = "eDP-1"; - scale = 1.0; - status = "enable"; - position = "0,0"; - } - ] - else if (host == "zinnia") then - [ - { - criteria = "eDP-1"; - scale = 1.0; - status = "enable"; - position = "0,0"; - } - ] - else if (host == "imilia") then - [ - { - criteria = "eDP-1"; - scale = 1.0; - status = "enable"; - position = "0,0"; - } - ] - else - [ - { - criteria = "eDP-1"; - scale = 1.0; - status = "enable"; - position = "0,0"; - } - ]; - }; - work = { - outputs = [ - { - criteria = "eDP-1"; - scale = 1.0; - status = "enable"; - position = "0,0"; - } - { - criteria = "HP Inc. HP E27q G5 CNC4190NG9"; - scale = 1.0; - status = "enable"; - position = "4816,0"; - } - { - criteria = "HP Inc. HP E27q G5 CNC4081M2B"; - scale = 1.0; - status = "enable"; - position = "2256,0"; - } - ]; - }; - }; - }; - programs.sway-easyfocus = { enable = true; settings = { @@ -326,7 +283,7 @@ in [title] "(?i)Thunar" = { icon = "󰉖", color = "#6291d6" } - "(?i)vim" = { app_id = ["foot", "Alacritty"], icon = "", color = "#8fff6d" } + "(?i)vim" = { app_id = ["foot", "kitty"], icon = "", color = "#8fff6d" } "(cloud|developers)\\.google.com" = { icon = "", color = "#4285f4" } "192\\.168\\.0\\.1|192\\.168\\.86\\.1|ui\\.com" = { icon = "󰖩", color = "#004cb6" } "1password\\.com" = { icon = "󰍁", color = "#0572ec" } @@ -390,17 +347,16 @@ in nnn = { app_id = ["foot", "Alacritty"], icon = "󰉖" } pgcli = { app_id = ["foot", "Alacritty"], icon = "󰆼", color = "#c74451" } ''; + home.file = { + "/home/${username}/.config/libinput-gestures/sway.conf" = { + executable = false; + text = " + Cycle right through sway workspaces + gesture: swipe right 3 swaymsg focus right + + # Cycle left through sway workspaces + gesture: swipe left 3 swaymsg focus left + "; + }; + }; } - -#home.file = { -# "/home/${username}/.config/libinput-gestures/sway.conf" = { -# executable = false; -# text = " -# # Cycle right through sway workspaces -# gesture: swipe right 3 swaymsg focus right - -# # Cycle left through sway workspaces -# gesture: swipe left 3 swaymsg focus left -# "; -# }; -#}; From c56db9024b1dd1180d9915ab3da2dd7e4dadee81 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:45:13 +0100 Subject: [PATCH 17/30] feat: make swaync show up in the middle and be 75% opaque --- modules/home/swaync/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/home/swaync/default.nix b/modules/home/swaync/default.nix index 45d3fe4..65b0e27 100644 --- a/modules/home/swaync/default.nix +++ b/modules/home/swaync/default.nix @@ -8,7 +8,7 @@ file."/home/${username}/.config/swaync/config.json".text = '' { "$schema": "/etc/xdg/swaync/configSchema.json", - "positionX": "right", + "positionX": "center", "positionY": "top", "layer": "overlay", "layer-shell": true, @@ -79,7 +79,7 @@ outline: none; transition: 200ms; padding: 1px; - background: transparent; + background: rgb(0, 0, 0, 0.75); } .notification-row { @@ -90,7 +90,7 @@ .notification-row .notification-background .close-button { /* The notification Close Button */ - background: transparent; + background: rgb(0, 0, 0, 0.75); color: @text; text-shadow: none; box-shadow: none; @@ -105,14 +105,14 @@ .notification-row .notification-background .close-button:hover { box-shadow: none; - background: transparent; + background: rgb(0, 0, 0, 0.75); transition: background 0.15s ease-in-out; border: 0px; } .notification-row .notification-background .notification { /* The actual notification */ - background: transparent; + background: rgb(0, 0, 0, 0.75); } .notification-group .notification-group-headers { @@ -141,7 +141,7 @@ .control-center-clear-all { /* Clear All button */ - background: transparent; + background: rgb(0, 0, 0, 0.75); padding: 5px; } @@ -156,7 +156,7 @@ /*** Widgets ***/ /* Title widget */ .widget-title { - background: transparent; + background: rgb(0, 0, 0, 0.75); margin-top: 15px; margin-left: 15px; margin-right: 15px; @@ -164,7 +164,7 @@ /* Do Not Disturb widget */ .widget-dnd { - background: transparent; + background: rgb(0, 0, 0, 0.75); margin-left: 15px; margin-right: 15px; } From 0640b29b0cffa45d4e855ba9a4c663630b859b1b Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:46:03 +0100 Subject: [PATCH 18/30] feat: set waybar to be 75% opaque as well --- modules/home/waybar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/waybar/default.nix b/modules/home/waybar/default.nix index 076a386..315e576 100644 --- a/modules/home/waybar/default.nix +++ b/modules/home/waybar/default.nix @@ -383,7 +383,7 @@ window#waybar.top { /* background-color: rgba(115, 116, 116, 0.22); */ - background-color: rgba(0, 0, 0, 0.25); + background-color: rgba(0, 0, 0, 0.75); border-top: none; color: #eeeeee; transition-property: background-color; From 5d71db274e06bc9f7fd69de5f89a65484f7bf816 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:46:20 +0100 Subject: [PATCH 19/30] feat: import `kanshi` --- modules/home/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/default.nix b/modules/home/default.nix index 2a82caf..8abd449 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -8,6 +8,7 @@ ++ [ (import ./hyprland) ] ++ [ (import ./hyprlock) ] ++ [ (import ./kitty.nix) ] + ++ [ (import ./kanshi.nix) ] ++ [ (import ./foot.nix) ] ++ [ (import ./nvim.nix) ] ++ [ (import ./zathura.nix) ] From 21898ab8c8365d1ad26622f614ec96481d423d81 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:46:33 +0100 Subject: [PATCH 20/30] revert: oops new thing is really different, not doing that now --- modules/home/kanshi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/kanshi.nix b/modules/home/kanshi.nix index ef8459c..267c7b9 100644 --- a/modules/home/kanshi.nix +++ b/modules/home/kanshi.nix @@ -3,7 +3,7 @@ services.kanshi = { enable = true; - settings = { + profiles = { laptops = { outputs = if (host == "sakura") then From 2eda7d9c2a293e3dc544278ffe4645b050d56973 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:47:03 +0100 Subject: [PATCH 21/30] fix: listen to new new nix way of doing things :+1: --- modules/home/git.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/home/git.nix b/modules/home/git.nix index 759f5c6..dc97a85 100644 --- a/modules/home/git.nix +++ b/modules/home/git.nix @@ -1,12 +1,11 @@ -{ pkgs, ... }: +{ pkgs, ... }: { programs.git = { enable = true; - - userName = "Ahwx"; - userEmail = "ahwx@ahwx.org"; - - extraConfig = { + + settings = { + user.name = "Ahwx"; + user.email = "ahwx@ahwx.org"; init.defaultBranch = "master"; credential.helper = "store"; alias.stat = "status"; @@ -14,5 +13,8 @@ }; }; - home.packages = [ pkgs.gh pkgs.git-lfs ]; + home.packages = [ + pkgs.gh + pkgs.git-lfs + ]; } From c22b806b151af57639d9cf26498b3845096f08cb Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:47:27 +0100 Subject: [PATCH 22/30] feat: make foot 75% opaque too --- modules/home/foot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/foot.nix b/modules/home/foot.nix index 7c0f4b8..fd9c77b 100644 --- a/modules/home/foot.nix +++ b/modules/home/foot.nix @@ -108,7 +108,7 @@ # long-press-delay=400 [colors] - alpha=0.5 + alpha=0.75 background=000000 foreground=878ba6 From 0d84c5517f64eda1056188b11a8a682fdb7eab05 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 11:58:35 +0100 Subject: [PATCH 23/30] flake: update --- flake.lock | 185 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 110 insertions(+), 75 deletions(-) diff --git a/flake.lock b/flake.lock index 39215c6..276c60b 100644 --- a/flake.lock +++ b/flake.lock @@ -206,6 +206,24 @@ "type": "github" } }, + "funkwhale": { + "inputs": { + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1715161072, + "narHash": "sha256-idIdylmqPibBVePO2T67X4y6b9EZoAQq5w1hZZn38rY=", + "owner": "mmai", + "repo": "funkwhale-flake", + "rev": "4a744ac59a55323eefc6a0f263aa55ebdc61146e", + "type": "github" + }, + "original": { + "owner": "mmai", + "repo": "funkwhale-flake", + "type": "github" + } + }, "gitignore": { "inputs": { "nixpkgs": [ @@ -235,11 +253,11 @@ ] }, "locked": { - "lastModified": 1762721397, - "narHash": "sha256-E428EuouA4nFTNlLuqlL4lVR78X+EbBIqDqsBFnB79w=", + "lastModified": 1763416652, + "narHash": "sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM=", "owner": "nix-community", "repo": "home-manager", - "rev": "b8645b18b0f5374127bbade6de7381ef0b3d5720", + "rev": "ea164b7c9ccdc2321379c2ff78fd4317b4c41312", "type": "github" }, "original": { @@ -250,7 +268,7 @@ }, "hypr-contrib": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1759613406, @@ -342,11 +360,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1762755326, - "narHash": "sha256-lXEBpx5Q2LdGZCXKTa1v7NhlaSxOvcvnepRi0r38+jg=", + "lastModified": 1763681820, + "narHash": "sha256-gAdAtZ/VLTrbLEQXeAZRk0OkmFrJucMLP3zdqHai/cc=", "ref": "refs/heads/main", - "rev": "0b1d690676589503f0addece30e936a240733699", - "revCount": 6564, + "rev": "b5a2ef77b7876798d33502f8de006f9c478c12db", + "revCount": 6636, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -469,11 +487,11 @@ ] }, "locked": { - "lastModified": 1758927902, - "narHash": "sha256-LZgMds7M94+vuMql2bERQ6LiFFdhgsEFezE4Vn+Ys3A=", + "lastModified": 1763254292, + "narHash": "sha256-JNgz3Fz2KMzkT7aR72wsgu/xNeJB//LSmdilh8Z/Zao=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "4dafa28d4f79877d67a7d1a654cddccf8ebf15da", + "rev": "deea98d5b61d066bdc7a68163edd2c4bd28d3a6b", "type": "github" }, "original": { @@ -515,7 +533,7 @@ "inputs": { "hyprutils": "hyprutils_2", "hyprwayland-scanner": "hyprwayland-scanner_2", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "systems": "systems_2" }, "locked": { @@ -538,15 +556,15 @@ "hyprlang": "hyprlang_2", "hyprutils": "hyprutils_3", "hyprwayland-scanner": "hyprwayland-scanner_3", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_6", "systems": "systems_3" }, "locked": { - "lastModified": 1760746576, - "narHash": "sha256-fIW9ul//KDRxfi0FY9mQkwrdHqu1qFselUaHh3XjVVY=", + "lastModified": 1762891302, + "narHash": "sha256-0SpAxDdbuQamQKh2vnQ9oLr0k3ERF6xlnAsviT/6QEw=", "owner": "hyprwm", "repo": "hyprsunset", - "rev": "adac50b0ecf24871223bfa62dc6de6616b321e3c", + "rev": "a9243e37778cbe43b1e8566f26956cb3d20cf811", "type": "github" }, "original": { @@ -619,11 +637,11 @@ ] }, "locked": { - "lastModified": 1762387740, - "narHash": "sha256-gQ9zJ+pUI4o+Gh4Z6jhJll7jjCSwi8ZqJIhCE2oqwhQ=", + "lastModified": 1763323331, + "narHash": "sha256-+Z0OfCo1MS8/aIutSAW5aJR9zTae1wz9kcJYMgpwN6M=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "926689ddb9c0a8787e58c02c765a62e32d63d1f7", + "rev": "0c6411851cc779d551edc89b83966696201611aa", "type": "github" }, "original": { @@ -789,11 +807,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1762463231, - "narHash": "sha256-hv1mG5j5PTbnWbtHHomzTus77pIxsc4x8VrMjc7+/YE=", + "lastModified": 1762847253, + "narHash": "sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR+ZdLX8IbrU=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "52113c4f5cfd1e823001310e56d9c8d0699a6226", + "rev": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9", "type": "github" }, "original": { @@ -835,11 +853,27 @@ }, "nixpkgs_10": { "locked": { - "lastModified": 1762361079, - "narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=", + "lastModified": 1763421233, + "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { + "locked": { + "lastModified": 1763191728, + "narHash": "sha256-esRhOS0APE6k40Hs/jjReXg+rx+J5LkWw7cuWFKlwYA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5", + "rev": "1d4c88323ac36805d09657d13a5273aea1b34f0c", "type": "github" }, "original": { @@ -849,13 +883,13 @@ "type": "github" } }, - "nixpkgs_11": { + "nixpkgs_12": { "locked": { - "lastModified": 1762363567, - "narHash": "sha256-YRqMDEtSMbitIMj+JLpheSz0pwEr0Rmy5mC7myl17xs=", + "lastModified": 1762977756, + "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ae814fd3904b621d8ab97418f1d0f2eb0d3716f4", + "rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55", "type": "github" }, "original": { @@ -883,27 +917,27 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1712163089, - "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", + "lastModified": 1704290814, + "narHash": "sha256-LWvKHp7kGxk/GEtlrGYV68qIvPHkU9iToomNFGagixU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", + "rev": "70bdadeb94ffc8806c0570eb5c2695ad29f0e421", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-unstable", + "ref": "nixos-23.05", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_4": { "locked": { - "lastModified": 1748929857, - "narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { @@ -931,11 +965,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1762596750, - "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=", + "lastModified": 1748929857, + "narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e", + "rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4", "type": "github" }, "original": { @@ -946,6 +980,22 @@ } }, "nixpkgs_7": { + "locked": { + "lastModified": 1763421233, + "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_8": { "locked": { "lastModified": 1743315132, "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", @@ -961,7 +1011,7 @@ "type": "github" } }, - "nixpkgs_8": { + "nixpkgs_9": { "locked": { "lastModified": 1742800061, "narHash": "sha256-oDJGK1UMArK52vcW9S5S2apeec4rbfNELgc50LqiPNs=", @@ -977,26 +1027,10 @@ "type": "github" } }, - "nixpkgs_9": { - "locked": { - "lastModified": 1762596750, - "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixvim": { "inputs": { "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_8", "nixvim": "nixvim_2" }, "locked": { @@ -1016,7 +1050,7 @@ "nixvim_2": { "inputs": { "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_9", "nuschtosSearch": "nuschtosSearch" }, "locked": { @@ -1036,14 +1070,14 @@ "nur": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_9" + "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1762784388, - "narHash": "sha256-cJz6BFvmPYQvWoWpglTc2yz12Cc3kynhpXEoapOeqcc=", + "lastModified": 1763722179, + "narHash": "sha256-7czFIGsaaoO4oqL6srEd3LUyA7MDbuSknpN6GAvwWDc=", "owner": "nix-community", "repo": "NUR", - "rev": "4957185b15241b9ba6e69309f7dd1da6d5206bbd", + "rev": "bb1508be2d4fbfe82bf010aaa3c0ecff6d27694d", "type": "github" }, "original": { @@ -1079,7 +1113,7 @@ "oisd": { "flake": false, "locked": { - "narHash": "sha256-6MVFxJJF/mwjWtCJ77s0YUYWm2rMTvnycHGya2JNGEE=", + "narHash": "sha256-bnWmiCN/QOcLcvZWTV1cNgkmWkImibMUyen1/nOGZ8I=", "type": "file", "url": "https://big.oisd.nl/domainswild" }, @@ -1098,11 +1132,11 @@ ] }, "locked": { - "lastModified": 1762441963, - "narHash": "sha256-j+rNQ119ffYUkYt2YYS6rnd6Jh/crMZmbqpkGLXaEt0=", + "lastModified": 1763319842, + "narHash": "sha256-YG19IyrTdnVn0l3DvcUYm85u3PaqBt6tI6VvolcuHnA=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "8e7576e79b88c16d7ee3bbd112c8d90070832885", + "rev": "7275fa67fbbb75891c16d9dee7d88e58aea2d761", "type": "github" }, "original": { @@ -1115,13 +1149,14 @@ "inputs": { "alejandra": "alejandra", "disko": "disko", + "funkwhale": "funkwhale", "home-manager": "home-manager", "hypr-contrib": "hypr-contrib", "hyprland": "hyprland", "hyprpicker": "hyprpicker", "hyprsunset": "hyprsunset", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "nixvim": "nixvim", "nur": "nur", "oisd": "oisd", @@ -1148,14 +1183,14 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_10" + "nixpkgs": "nixpkgs_11" }, "locked": { - "lastModified": 1762659808, - "narHash": "sha256-2Kv2mANf+FRisqhpfeZ8j9firBxb23ZvEXwdcunbpGI=", + "lastModified": 1763607916, + "narHash": "sha256-VefBA1JWRXM929mBAFohFUtQJLUnEwZ2vmYUNkFnSjE=", "owner": "Mic92", "repo": "sops-nix", - "rev": "524312bc62e3f34bd9231a2f66622663d3355133", + "rev": "877bb495a6f8faf0d89fc10bd142c4b7ed2bcc0b", "type": "github" }, "original": { @@ -1166,15 +1201,15 @@ }, "spicetify-nix": { "inputs": { - "nixpkgs": "nixpkgs_11", + "nixpkgs": "nixpkgs_12", "systems": "systems_5" }, "locked": { - "lastModified": 1762718300, - "narHash": "sha256-oOQimZTaV1jCw0OBmmK2g7Rdj3E8YGVpkJYD32BWKRQ=", + "lastModified": 1763267524, + "narHash": "sha256-CywB4iCpGr4CYZAD+WboFwBQ7Wnc7LdfSemFWuH/1Ro=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "c7175bd485ed5052df5075fcdde395b631316e94", + "rev": "cf33e39bd1a21993a28ffee8be433e212ecf346a", "type": "github" }, "original": { From 426b96be0dd6a8abf99f28dcc4532f4dc0ac33e3 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 12:04:29 +0100 Subject: [PATCH 24/30] fix: set correct path for `hyprlock` --- modules/home/hyprland/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/hyprland/default.nix b/modules/home/hyprland/default.nix index 5497e22..c83bb21 100644 --- a/modules/home/hyprland/default.nix +++ b/modules/home/hyprland/default.nix @@ -6,6 +6,6 @@ ++ [ (import ./scripts.nix) ] ++ [ (import ./variables.nix) ] ++ [ (import ./../hyprsunset.nix) ] - ++ [ (import ./../hyprlock.nix) ] + ++ [ (import ./../hyprlock/default.nix) ] ++ [ inputs.hyprland.homeManagerModules.default ]; } From b9b3d632d06f179d36e4bf8f1113f9a5296a9a83 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 12:53:29 +0100 Subject: [PATCH 25/30] fix: remove `inputs.hyprsunset` as it interferes with the package in `nixpkgs` --- modules/home/hyprland/hyprland.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index 097d236..3903d04 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -10,7 +10,6 @@ glib wayland direnv - inputs.hyprsunset.packages.${pkgs.stdenv.hostPlatform.system}.hyprsunset ]; # systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ]; wayland.windowManager.hyprland = { From 89ebaea95a6d2c5f7fdc6ffc98e5e2c5bc7b7f42 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 13:07:49 +0100 Subject: [PATCH 26/30] flake: remove `hyprsunset` --- flake.lock | 215 +++++++---------------------------------------------- flake.nix | 1 - 2 files changed, 28 insertions(+), 188 deletions(-) diff --git a/flake.lock b/flake.lock index 276c60b..c6322b2 100644 --- a/flake.lock +++ b/flake.lock @@ -174,7 +174,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1731533236, @@ -446,31 +446,6 @@ "type": "github" } }, - "hyprland-protocols_2": { - "inputs": { - "nixpkgs": [ - "hyprsunset", - "nixpkgs" - ], - "systems": [ - "hyprsunset", - "systems" - ] - }, - "locked": { - "lastModified": 1749046714, - "narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=", - "owner": "hyprwm", - "repo": "hyprland-protocols", - "rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-protocols", - "type": "github" - } - }, "hyprlang": { "inputs": { "hyprutils": [ @@ -500,35 +475,6 @@ "type": "github" } }, - "hyprlang_2": { - "inputs": { - "hyprutils": [ - "hyprsunset", - "hyprutils" - ], - "nixpkgs": [ - "hyprsunset", - "nixpkgs" - ], - "systems": [ - "hyprsunset", - "systems" - ] - }, - "locked": { - "lastModified": 1750371198, - "narHash": "sha256-/iuJ1paQOBoSLqHflRNNGyroqfF/yvPNurxzcCT0cAE=", - "owner": "hyprwm", - "repo": "hyprlang", - "rev": "cee01452bca58d6cadb3224e21e370de8bc20f0b", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprlang", - "type": "github" - } - }, "hyprpicker": { "inputs": { "hyprutils": "hyprutils_2", @@ -550,29 +496,6 @@ "type": "github" } }, - "hyprsunset": { - "inputs": { - "hyprland-protocols": "hyprland-protocols_2", - "hyprlang": "hyprlang_2", - "hyprutils": "hyprutils_3", - "hyprwayland-scanner": "hyprwayland-scanner_3", - "nixpkgs": "nixpkgs_6", - "systems": "systems_3" - }, - "locked": { - "lastModified": 1762891302, - "narHash": "sha256-0SpAxDdbuQamQKh2vnQ9oLr0k3ERF6xlnAsviT/6QEw=", - "owner": "hyprwm", - "repo": "hyprsunset", - "rev": "a9243e37778cbe43b1e8566f26956cb3d20cf811", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprsunset", - "type": "github" - } - }, "hyprtoolkit": { "inputs": { "aquamarine": [ @@ -675,31 +598,6 @@ "type": "github" } }, - "hyprutils_3": { - "inputs": { - "nixpkgs": [ - "hyprsunset", - "nixpkgs" - ], - "systems": [ - "hyprsunset", - "systems" - ] - }, - "locked": { - "lastModified": 1749135356, - "narHash": "sha256-Q8mAKMDsFbCEuq7zoSlcTuxgbIBVhfIYpX0RjE32PS0=", - "owner": "hyprwm", - "repo": "hyprutils", - "rev": "e36db00dfb3a3d3fdcc4069cb292ff60d2699ccb", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprutils", - "type": "github" - } - }, "hyprwayland-scanner": { "inputs": { "nixpkgs": [ @@ -750,31 +648,6 @@ "type": "github" } }, - "hyprwayland-scanner_3": { - "inputs": { - "nixpkgs": [ - "hyprsunset", - "nixpkgs" - ], - "systems": [ - "hyprsunset", - "systems" - ] - }, - "locked": { - "lastModified": 1749145760, - "narHash": "sha256-IHaGWpGrv7seFWdw/1A+wHtTsPlOGIKMrk1TUIYJEFI=", - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "rev": "817918315ea016cc2d94004bfb3223b5fd9dfcc6", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "type": "github" - } - }, "ixx": { "inputs": { "flake-utils": [ @@ -852,22 +725,6 @@ } }, "nixpkgs_10": { - "locked": { - "lastModified": 1763421233, - "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_11": { "locked": { "lastModified": 1763191728, "narHash": "sha256-esRhOS0APE6k40Hs/jjReXg+rx+J5LkWw7cuWFKlwYA=", @@ -883,7 +740,7 @@ "type": "github" } }, - "nixpkgs_12": { + "nixpkgs_11": { "locked": { "lastModified": 1762977756, "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", @@ -964,22 +821,6 @@ } }, "nixpkgs_6": { - "locked": { - "lastModified": 1748929857, - "narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_7": { "locked": { "lastModified": 1763421233, "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", @@ -995,7 +836,7 @@ "type": "github" } }, - "nixpkgs_8": { + "nixpkgs_7": { "locked": { "lastModified": 1743315132, "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", @@ -1011,7 +852,7 @@ "type": "github" } }, - "nixpkgs_9": { + "nixpkgs_8": { "locked": { "lastModified": 1742800061, "narHash": "sha256-oDJGK1UMArK52vcW9S5S2apeec4rbfNELgc50LqiPNs=", @@ -1027,10 +868,26 @@ "type": "github" } }, + "nixpkgs_9": { + "locked": { + "lastModified": 1763421233, + "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixvim": { "inputs": { "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_7", "nixvim": "nixvim_2" }, "locked": { @@ -1050,7 +907,7 @@ "nixvim_2": { "inputs": { "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_9", + "nixpkgs": "nixpkgs_8", "nuschtosSearch": "nuschtosSearch" }, "locked": { @@ -1070,7 +927,7 @@ "nur": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_10" + "nixpkgs": "nixpkgs_9" }, "locked": { "lastModified": 1763722179, @@ -1154,9 +1011,8 @@ "hypr-contrib": "hypr-contrib", "hyprland": "hyprland", "hyprpicker": "hyprpicker", - "hyprsunset": "hyprsunset", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_6", "nixvim": "nixvim", "nur": "nur", "oisd": "oisd", @@ -1183,7 +1039,7 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_11" + "nixpkgs": "nixpkgs_10" }, "locked": { "lastModified": 1763607916, @@ -1201,8 +1057,8 @@ }, "spicetify-nix": { "inputs": { - "nixpkgs": "nixpkgs_12", - "systems": "systems_5" + "nixpkgs": "nixpkgs_11", + "systems": "systems_4" }, "locked": { "lastModified": 1763267524, @@ -1249,21 +1105,6 @@ } }, "systems_3": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_4": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1278,7 +1119,7 @@ "type": "github" } }, - "systems_5": { + "systems_4": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", diff --git a/flake.nix b/flake.nix index 08c0c66..77e2c06 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,6 @@ hyprland.inputs.nixpkgs.follows = "nixpkgs"; hypr-contrib.url = "github:hyprwm/contrib"; hyprpicker.url = "github:hyprwm/hyprpicker"; - hyprsunset.url = "github:hyprwm/hyprsunset"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR"; nixos-hardware.url = "github:nixos/nixos-hardware"; From b7c480adacc34b8ffad0c2fc6aaf2b021790edf4 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 13:44:51 +0100 Subject: [PATCH 27/30] flake: remove `hyprpicker` input --- flake.lock | 159 ++++++++++------------------------------------------- flake.nix | 1 - 2 files changed, 28 insertions(+), 132 deletions(-) diff --git a/flake.lock b/flake.lock index c6322b2..019e2f7 100644 --- a/flake.lock +++ b/flake.lock @@ -174,7 +174,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems_3" + "systems": "systems_2" }, "locked": { "lastModified": 1731533236, @@ -475,27 +475,6 @@ "type": "github" } }, - "hyprpicker": { - "inputs": { - "hyprutils": "hyprutils_2", - "hyprwayland-scanner": "hyprwayland-scanner_2", - "nixpkgs": "nixpkgs_5", - "systems": "systems_2" - }, - "locked": { - "lastModified": 1762388741, - "narHash": "sha256-4PKO/B0C53Qb60UIXB6QjXTvWX3ap34WdcnMoH6+ng0=", - "owner": "hyprwm", - "repo": "hyprpicker", - "rev": "5ab0e1aaa489ceb807c884a73b4948d395d9e229", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprpicker", - "type": "github" - } - }, "hyprtoolkit": { "inputs": { "aquamarine": [ @@ -573,31 +552,6 @@ "type": "github" } }, - "hyprutils_2": { - "inputs": { - "nixpkgs": [ - "hyprpicker", - "nixpkgs" - ], - "systems": [ - "hyprpicker", - "systems" - ] - }, - "locked": { - "lastModified": 1749135356, - "narHash": "sha256-Q8mAKMDsFbCEuq7zoSlcTuxgbIBVhfIYpX0RjE32PS0=", - "owner": "hyprwm", - "repo": "hyprutils", - "rev": "e36db00dfb3a3d3fdcc4069cb292ff60d2699ccb", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprutils", - "type": "github" - } - }, "hyprwayland-scanner": { "inputs": { "nixpkgs": [ @@ -623,31 +577,6 @@ "type": "github" } }, - "hyprwayland-scanner_2": { - "inputs": { - "nixpkgs": [ - "hyprpicker", - "nixpkgs" - ], - "systems": [ - "hyprpicker", - "systems" - ] - }, - "locked": { - "lastModified": 1749145760, - "narHash": "sha256-IHaGWpGrv7seFWdw/1A+wHtTsPlOGIKMrk1TUIYJEFI=", - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "rev": "817918315ea016cc2d94004bfb3223b5fd9dfcc6", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "type": "github" - } - }, "ixx": { "inputs": { "flake-utils": [ @@ -725,22 +654,6 @@ } }, "nixpkgs_10": { - "locked": { - "lastModified": 1763191728, - "narHash": "sha256-esRhOS0APE6k40Hs/jjReXg+rx+J5LkWw7cuWFKlwYA=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1d4c88323ac36805d09657d13a5273aea1b34f0c", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_11": { "locked": { "lastModified": 1762977756, "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", @@ -805,22 +718,6 @@ } }, "nixpkgs_5": { - "locked": { - "lastModified": 1748929857, - "narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_6": { "locked": { "lastModified": 1763421233, "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", @@ -836,7 +733,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_6": { "locked": { "lastModified": 1743315132, "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", @@ -852,7 +749,7 @@ "type": "github" } }, - "nixpkgs_8": { + "nixpkgs_7": { "locked": { "lastModified": 1742800061, "narHash": "sha256-oDJGK1UMArK52vcW9S5S2apeec4rbfNELgc50LqiPNs=", @@ -868,7 +765,7 @@ "type": "github" } }, - "nixpkgs_9": { + "nixpkgs_8": { "locked": { "lastModified": 1763421233, "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", @@ -884,10 +781,26 @@ "type": "github" } }, + "nixpkgs_9": { + "locked": { + "lastModified": 1763191728, + "narHash": "sha256-esRhOS0APE6k40Hs/jjReXg+rx+J5LkWw7cuWFKlwYA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1d4c88323ac36805d09657d13a5273aea1b34f0c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixvim": { "inputs": { "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_6", "nixvim": "nixvim_2" }, "locked": { @@ -907,7 +820,7 @@ "nixvim_2": { "inputs": { "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_7", "nuschtosSearch": "nuschtosSearch" }, "locked": { @@ -927,7 +840,7 @@ "nur": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_9" + "nixpkgs": "nixpkgs_8" }, "locked": { "lastModified": 1763722179, @@ -1010,9 +923,8 @@ "home-manager": "home-manager", "hypr-contrib": "hypr-contrib", "hyprland": "hyprland", - "hyprpicker": "hyprpicker", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_5", "nixvim": "nixvim", "nur": "nur", "oisd": "oisd", @@ -1039,7 +951,7 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_10" + "nixpkgs": "nixpkgs_9" }, "locked": { "lastModified": 1763607916, @@ -1057,8 +969,8 @@ }, "spicetify-nix": { "inputs": { - "nixpkgs": "nixpkgs_11", - "systems": "systems_4" + "nixpkgs": "nixpkgs_10", + "systems": "systems_3" }, "locked": { "lastModified": 1763267524, @@ -1090,21 +1002,6 @@ } }, "systems_2": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_3": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1119,7 +1016,7 @@ "type": "github" } }, - "systems_4": { + "systems_3": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", diff --git a/flake.nix b/flake.nix index 77e2c06..fe2fefa 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,6 @@ hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.inputs.nixpkgs.follows = "nixpkgs"; hypr-contrib.url = "github:hyprwm/contrib"; - hyprpicker.url = "github:hyprwm/hyprpicker"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR"; nixos-hardware.url = "github:nixos/nixos-hardware"; From 4bf28b1bd9fda1010488186c4f5529fb7309c2de Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 14:24:39 +0100 Subject: [PATCH 28/30] feat: adds `cd` -> `z` alias; adds sudo to `tailscale` commands because stupid --- modules/home/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index 44e1598..244bd07 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -231,11 +231,13 @@ du = "dust"; cp = "cp -i -v"; mv = "mv -i -v"; + cd = "z"; rm = "rm -i -v"; cat = "${lib.getExe pkgs.bat} --plain"; diff = "${lib.getExe pkgs.delta} --color-only"; battery-left = "${lib.getExe pkgs.acpi} | cut -d' ' -f5"; github-actions = "${lib.getExe pkgs.act} -s GITHUB_TOKEN=\"$(${lib.getExe pkgs.github-cli} auth token)\""; + tailscale = "sudo tailscale"; # NixOS ns = "nix-shell --run zsh"; From 6759f9140d5af25a26e0a9928bfd6dcdfb64bf22 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 14:29:32 +0100 Subject: [PATCH 29/30] flake: update (oisd) --- flake.lock | 2 +- modules/security/dnscrypt.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 019e2f7..8b858ff 100644 --- a/flake.lock +++ b/flake.lock @@ -883,7 +883,7 @@ "oisd": { "flake": false, "locked": { - "narHash": "sha256-bnWmiCN/QOcLcvZWTV1cNgkmWkImibMUyen1/nOGZ8I=", + "narHash": "sha256-BimlCciIYi63B1KGZzUzlpduFmj0jtjASH+QORYWoww=", "type": "file", "url": "https://big.oisd.nl/domainswild" }, diff --git a/modules/security/dnscrypt.nix b/modules/security/dnscrypt.nix index 377fea7..ca5e4da 100644 --- a/modules/security/dnscrypt.nix +++ b/modules/security/dnscrypt.nix @@ -25,7 +25,7 @@ in "https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md" "https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md" ]; - minisign_key = "sha256-6MVFxJJF/mwjWtCJ77s0YUYWm2rMTvnycHGya2JNGEE="; # See https://github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/public-resolvers.md + minisign_key = "sha256-LRw8acNa39MUv7XmA0GuheugECcejbN8+GJl2Ra7lpg="; # See https://github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/public-resolvers.md cache_file = "/var/lib/dnscrypt/public-resolvers.md"; }; From 380405441bf1fc37f8889f38398a056b7b0f7ff6 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 21 Nov 2025 15:20:46 +0100 Subject: [PATCH 30/30] feat: enable `audioEnhancement` again as it has been fixed since --- hosts/sakura/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 768b9f1..22418e6 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -45,7 +45,7 @@ in hardware.framework = { amd-7040.preventWakeOnAC = true; - # laptop13.audioEnhancement.enable = true; # makes audio almost muted + laptop13.audioEnhancement.enable = true; }; # Disable light sensors and accelerometers as they are not used and consume extra battery