From cd3c1efa75f6307a023270185ea7fa1ad1d7af75 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:37:45 +1000 Subject: [PATCH 1/6] ensure XDG_CONFIG_HOME is set --- groups/cryos/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/groups/cryos/default.nix b/groups/cryos/default.nix index 345bf8d..e24392b 100644 --- a/groups/cryos/default.nix +++ b/groups/cryos/default.nix @@ -99,6 +99,7 @@ sessionVariables = { # folder names with capitalisation look awful! XDG_DOWNLOAD_DIR = "$HOME/downloads"; + XDG_CONFIG_HOME = "$HOME/.config"; }; }; From e68fddea5eade281666d1e7cf19058da42fefc43 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:37:58 +1000 Subject: [PATCH 2/6] lower btop update_ms --- homes/modules/btop.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homes/modules/btop.nix b/homes/modules/btop.nix index 918eb25..765ccea 100644 --- a/homes/modules/btop.nix +++ b/homes/modules/btop.nix @@ -16,9 +16,9 @@ # UI background_update = true; - update_ms = 2000; + update_ms = 100; rounded_corners = false; - graph_symbol = "block"; # braille/block/tty + graph_symbol = "braille"; # braille/block/tty graph_symbol_cpu = "default"; graph_symbol_mem = "default"; graph_symbol_net = "default"; From 5a51fb7a0ef81943b37ba8ddc1bcb16eb5608f32 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:38:06 +1000 Subject: [PATCH 3/6] helix respect .gitignore --- homes/modules/editor/helix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homes/modules/editor/helix.nix b/homes/modules/editor/helix.nix index bccdc13..986f880 100755 --- a/homes/modules/editor/helix.nix +++ b/homes/modules/editor/helix.nix @@ -132,7 +132,7 @@ in { hidden = true; # show hidden files follow-symlinks = true; deduplicate-links = true; - git-ignore = false; # dont read .gitignore files + git-ignore = true; # dont read .gitignore files ignore = true; # use .ignore for helix instead of .gitignore }; From 2ef53a731893a1e1685b1703f7ae4c5c8937fadf Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:38:38 +1000 Subject: [PATCH 4/6] add krita + hyfetch --- homes/me/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/homes/me/default.nix b/homes/me/default.nix index ad21f43..5c68034 100755 --- a/homes/me/default.nix +++ b/homes/me/default.nix @@ -60,6 +60,7 @@ # for services.gnome-keyring pkgs.gcr # provides org.gnome.keyring.SystemPrompter seahorse # gui + krita tor-browser @@ -99,6 +100,20 @@ # these are both required for home-manager to work home-manager.enable = true; + hyfetch = { + enable = true; + settings = { + preset = "nonbinary"; + mode = "rgb"; + backend = "fastfetch"; + color_align = { + mode = "vertical"; + }; + auto_detect_light_dark = true; + pride_month_disable = false; + }; + }; + zsh = { enable = true; enableCompletion = true; From aefc047f77bda63a635461ea383c27f4f255670b Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:42:04 +1000 Subject: [PATCH 5/6] add spicetify --- flake.lock | 50 ++++++++++++++++++++++++++++++-- flake.nix | 8 +++++ homes/me/default.nix | 4 ++- homes/modules/apps/spicetify.nix | 32 ++++++++++++++++++++ hosts/modules/steam.nix | 7 ----- nixpkgs.nix | 1 + 6 files changed, 92 insertions(+), 10 deletions(-) create mode 100644 homes/modules/apps/spicetify.nix diff --git a/flake.lock b/flake.lock index 8f5c175..e1015e2 100644 --- a/flake.lock +++ b/flake.lock @@ -65,13 +65,14 @@ "nt": [ "nt" ], + "sops-nix": "sops-nix", "systems": [ "systems" ] }, "locked": { - "lastModified": 1772102584, - "narHash": "sha256-tGcuWO36uW4+BPs8vP/PrMJM/e84Zcn69r1EhzTr/m4=", + "lastModified": 1772461566, + "narHash": "sha256-1Rib48xxOv5unR6KyBRs1wRoyC8MGguBno75fFGGbPs=", "path": "/home/me/cry/mk/cerulean", "type": "path" }, @@ -944,6 +945,7 @@ "nixpkgs-unstable": "nixpkgs-unstable", "nt": "nt", "sddm-silent": "sddm-silent", + "spicetify-nix": "spicetify-nix", "systems": "systems_4" } }, @@ -1009,6 +1011,27 @@ "type": "github" } }, + "sops-nix": { + "inputs": { + "nixpkgs": [ + "cerulean", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1772495394, + "narHash": "sha256-hmIvE/slLKEFKNEJz27IZ8BKlAaZDcjIHmkZ7GCEjfw=", + "owner": "Mic92", + "repo": "sops-nix", + "rev": "1d9b98a29a45abe9c4d3174bd36de9f28755e3ff", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "sops-nix", + "type": "github" + } + }, "spectrum": { "flake": false, "locked": { @@ -1025,6 +1048,29 @@ "url": "https://spectrum-os.org/git/spectrum" } }, + "spicetify-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs-unstable" + ], + "systems": [ + "systems" + ] + }, + "locked": { + "lastModified": 1772494187, + "narHash": "sha256-6ksgNAFXVK+Cg/6ww7bB2nJUPZlnS75UwZC7G+L03EE=", + "owner": "Gerg-L", + "repo": "spicetify-nix", + "rev": "915ab06b046d05613041780c575c62a32fe67cea", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "spicetify-nix", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/flake.nix b/flake.nix index 3123130..843794c 100644 --- a/flake.nix +++ b/flake.nix @@ -69,6 +69,14 @@ url = "github:DreamMaoMao/mango"; inputs.nixpkgs.follows = "nixpkgs"; }; + + spicetify-nix = { + url = "github:Gerg-L/spicetify-nix"; + inputs = { + systems.follows = "systems"; + nixpkgs.follows = "nixpkgs-unstable"; + }; + }; }; nixConfig = { diff --git a/homes/me/default.nix b/homes/me/default.nix index 5c68034..4b16636 100755 --- a/homes/me/default.nix +++ b/homes/me/default.nix @@ -17,6 +17,7 @@ ../modules/apps/firefox.nix ../modules/apps/thunderbird.nix ../modules/apps/nixcord.nix + ../modules/apps/spicetify.nix # ../modules/wm ../modules/wm/mangowc.nix @@ -28,7 +29,8 @@ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.GetName pkg) [ - "vscode-extension-ms-dotnettools-csharp" + # "vscode-extension-ms-dotnettools-csharp" + "spotify" ]; home = { diff --git a/homes/modules/apps/spicetify.nix b/homes/modules/apps/spicetify.nix new file mode 100644 index 0000000..7fa740e --- /dev/null +++ b/homes/modules/apps/spicetify.nix @@ -0,0 +1,32 @@ +{ + inputs, + upkgs, + system, + ... +}: let + spicetifyPkgs = inputs.spicetify-nix.legacyPackages.${system}; +in { + imports = [inputs.spicetify-nix.homeManagerModules.default]; + programs.spicetify = { + enable = true; + + enabledExtensions = with spicetifyPkgs.extensions; [ + adblock + shuffle + keyboardShortcut + { + src = + (upkgs.fetchFromGitHub { + owner = "Spikerko"; + repo = "spicy-lyrics"; + rev = "568c83326aa6aba6ded28c95df6fcfb25cab3648"; + hash = "sha256-lej93EDzGkmyrg5YMdPSqzrxlIfKsfaDBZosTvxoTNw="; + }) + + /builds; + name = "spicy-lyrics.mjs"; + } + ]; + theme = spicetifyPkgs.themes.comfy; + colorScheme = "Sakura"; + }; +} diff --git a/hosts/modules/steam.nix b/hosts/modules/steam.nix index 1e31d8d..03343c3 100644 --- a/hosts/modules/steam.nix +++ b/hosts/modules/steam.nix @@ -3,13 +3,6 @@ lib, ... }: { - # nixpkgs.config.allowUnfreePredicate = pkg: - # builtins.elem (lib.getName pkg) [ - # "steam" - # "steam-original" - # "steam-unwrapped" - # "steam-run" - # ]; nixpkgs.overlays = [ (self: super: { lutris = super.lutris.overrideAttrs (final: prev: { diff --git a/nixpkgs.nix b/nixpkgs.nix index fa6e201..f088efc 100644 --- a/nixpkgs.nix +++ b/nixpkgs.nix @@ -18,6 +18,7 @@ "steam" "steamcmd" "steam-unwrapped" + "spotify" "obsidian" "gitkraken" From 3dc202430973793267dd4f3a9bf3a903c8f0d1e8 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 3 Mar 2026 11:39:05 +1000 Subject: [PATCH 6/6] patches todo --- patches | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches diff --git a/patches b/patches new file mode 100644 index 0000000..7be726f --- /dev/null +++ b/patches @@ -0,0 +1,11 @@ +# add sddm profile pic +systemd.tmpfiles.rules = let + imagePath = root + "/homes/aurora/profile.png"; + in + lib.mkIf (builtins.pathExists imagePath) [ + "L /var/lib/AccountsService/icons/${config.home.username} - - - - ${imagePath}" + ]; + + +# Cerulean should automatically add set home-managers `home.username` and `home.homeDirectory` +# (this can be done by using .extendModule from the nixos module system :3)