From 9d22e2eff07790f0abf5f601f4dd3eda21a3b522 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 26 Jul 2026 15:16:04 +0200 Subject: [PATCH 1/5] add function to disable useless shit --- flake.nix | 1 + home/stylix.nix | 31 +++++++++++++++++++++++++++++++ stylix.nix | 28 +++++++++++++++++++++++++++- 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 94f9c2e..cc498ca 100644 --- a/flake.nix +++ b/flake.nix @@ -79,6 +79,7 @@ ]; }; nixosConfigurations.nerv = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; modules = [ ./configuration.nix ./nixvim/nixvim.nix diff --git a/home/stylix.nix b/home/stylix.nix index 68bfa4d..2969c65 100644 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -1,4 +1,35 @@ { + lib, + inputs, + ... +}: +let + keep = [ + "neovim" + "qt" + "gtk" + "hyprland" + "hyprpaper" + "foot" + "fuzzel" + "discord" + "console" + ]; + dir = "${inputs.stylix}/modules"; + + drop = builtins.filter (n: !(builtins.elem n keep)) ( + builtins.attrNames (lib.filterAttrs (_: t: t == "directory") (builtins.readDir dir)) + ); + + disable = + platform: + map (n: "${dir}/${n}/${platform}.nix") ( + builtins.filter (n: builtins.pathExists "${dir}/${n}/${platform}.nix") drop + ); +in + +{ + disabledModules = disable "hm"; stylix = { enable = true; autoEnable = false; diff --git a/stylix.nix b/stylix.nix index 335295c..568cbb4 100644 --- a/stylix.nix +++ b/stylix.nix @@ -1,10 +1,36 @@ { + inputs, config, pkgs, lib, ... }: +let + keep = [ + "neovim" + "qt" + "gtk" + "hyprland" + "foot" + "fuzzel" + "nixcord" + "console" + ]; + dir = "${inputs.stylix}/modules"; + + drop = builtins.filter (n: !(builtins.elem n keep)) ( + builtins.attrNames (lib.filterAttrs (_: t: t == "directory") (builtins.readDir dir)) + ); + + disable = + platform: + map (n: "${dir}/${n}/${platform}.nix") ( + builtins.filter (n: builtins.pathExists "${dir}/${n}/${platform}.nix") drop + ); +in { + disabledModules = disable "nixos"; + stylix.opacity = { terminal = 0.8; desktop = 1.0; @@ -24,7 +50,7 @@ stylix = { enable = true; autoEnable = false; - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml"; polarity = "dark"; image = ./wallpaper.png; targets = { From be60afd7149cf68fd9e5d04fe16937587bf5a05e Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 26 Jul 2026 15:22:17 +0200 Subject: [PATCH 2/5] swap to rose pine --- stylix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylix.nix b/stylix.nix index 568cbb4..e39b5fc 100644 --- a/stylix.nix +++ b/stylix.nix @@ -50,7 +50,7 @@ in stylix = { enable = true; autoEnable = false; - base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml"; polarity = "dark"; image = ./wallpaper.png; targets = { From 060b2c901556691477f87a44181a22126d3c69b7 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 26 Jul 2026 15:26:12 +0200 Subject: [PATCH 3/5] remove shit from syncthing config --- home/home.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/home/home.nix b/home/home.nix index 40bd548..265f852 100644 --- a/home/home.nix +++ b/home/home.nix @@ -25,18 +25,7 @@ home.pointerCursor.enable = true; home.username = "lucy"; home.homeDirectory = "/home/lucy"; - services.syncthing = { - enable = true; - settings = { - devices = { - cyberia = { - id = "OOJBAJU-AAIKLHO-BKMMHBU-2NXE75Z-HE64A6V-LET4ZXB-Q2FT2Y4-GZON3AD"; - autoAcceptFolders = true; - name = "cyberia"; - }; - }; - }; - }; + services.syncthing.enable = true; programs.git = { enable = true; settings = { From 7abe721ab1528f120dfc3154741da4887564fba3 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 26 Jul 2026 16:04:31 +0200 Subject: [PATCH 4/5] add spicetify --- configuration.nix | 2 +- flake.lock | 39 ++++++++++++++++++++++++++++++++++++++- flake.nix | 4 ++++ home/home.nix | 6 +++++- home/stylix.nix | 2 ++ 5 files changed, 50 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 531818e..dca8029 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,5 +1,5 @@ { - config, + inputs, pkgs, ... }: diff --git a/flake.lock b/flake.lock index dcc6199..47a23b0 100644 --- a/flake.lock +++ b/flake.lock @@ -472,6 +472,7 @@ "nixcord": "nixcord", "nixpkgs": "nixpkgs", "nixvim": "nixvim", + "spicetify-nix": "spicetify-nix", "stylix": "stylix" } }, @@ -496,6 +497,27 @@ "type": "github" } }, + "spicetify-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems_2" + }, + "locked": { + "lastModified": 1785048222, + "narHash": "sha256-LjFVfwxensz76SjnvofF1Jsw+xTLd8Qp31W0J6nh2XI=", + "owner": "Gerg-L", + "repo": "spicetify-nix", + "rev": "17e524f330c282d31c32dfe076222d4a12277886", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "spicetify-nix", + "type": "github" + } + }, "stylix": { "inputs": { "base16": "base16", @@ -509,7 +531,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_2", + "systems": "systems_3", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", "tinted-tmux": "tinted-tmux", @@ -560,6 +582,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-kitty": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index cc498ca..9a7db1f 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,10 @@ url = "github:nix-community/lanzaboote/v1.1.0"; inputs.nixpkgs.follows = "nixpkgs"; }; + spicetify-nix = { + url = "github:Gerg-L/spicetify-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/home/home.nix b/home/home.nix index 265f852..6fa1c50 100644 --- a/home/home.nix +++ b/home/home.nix @@ -10,12 +10,16 @@ ./fastfetch.nix ./hyprland.nix inputs.nixcord.homeModules.nixcord + inputs.spicetify-nix.homeManagerModules.spicetify ]; + programs.spicetify = { + enable = true; + wayland = true; + }; # Home Manager needs a bit of information about you and the # paths it should manage. home.packages = with pkgs; [ xournalpp - spotify fastfetch hyfetch nemo diff --git a/home/stylix.nix b/home/stylix.nix index 2969c65..8259677 100644 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -5,6 +5,7 @@ }: let keep = [ + "spicetify" "neovim" "qt" "gtk" @@ -41,6 +42,7 @@ in hyprland.hyprpaper.enable = false; fuzzel.enable = true; foot.enable = true; + spicetify.enable = true; }; }; } From 1a9a6355b39361b70aa0fe2f909c8d4e7ce7358e Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 26 Jul 2026 16:30:20 +0200 Subject: [PATCH 5/5] disable hdr --- home/hyprland.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/home/hyprland.lua b/home/hyprland.lua index 2c11d4d..d63a75b 100644 --- a/home/hyprland.lua +++ b/home/hyprland.lua @@ -10,16 +10,12 @@ hl.monitor({ mode = "preferred", position = "auto", scale = "1", - bitdepth = 10, - cm = "wide", }) hl.monitor({ output = "DP-5", mode = "2560x1440@165", position = "auto", scale = "1", - bitdepth = 10, - cm = "wide", }) -- Set programs that you use