Compare commits

...

6 commits

Author SHA1 Message Date
3dc2024309 patches todo 2026-03-03 11:42:29 +10:00
aefc047f77 add spicetify 2026-03-03 11:42:04 +10:00
2ef53a7318 add krita + hyfetch 2026-03-03 11:39:29 +10:00
5a51fb7a0e helix respect .gitignore 2026-03-03 11:39:29 +10:00
e68fddea5e lower btop update_ms 2026-03-03 11:39:29 +10:00
cd3c1efa75 ensure XDG_CONFIG_HOME is set 2026-03-03 11:39:29 +10:00
10 changed files with 122 additions and 13 deletions

50
flake.lock generated
View file

@ -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,

View file

@ -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 = {

View file

@ -99,6 +99,7 @@
sessionVariables = {
# folder names with capitalisation look awful!
XDG_DOWNLOAD_DIR = "$HOME/downloads";
XDG_CONFIG_HOME = "$HOME/.config";
};
};

View file

@ -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 = {
@ -60,6 +62,7 @@
# for services.gnome-keyring
pkgs.gcr # provides org.gnome.keyring.SystemPrompter
seahorse # gui
krita
tor-browser
@ -99,6 +102,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;

View file

@ -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";
};
}

View file

@ -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";

View file

@ -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
};

View file

@ -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: {

View file

@ -18,6 +18,7 @@
"steam"
"steamcmd"
"steam-unwrapped"
"spotify"
"obsidian"
"gitkraken"

11
patches Normal file
View file

@ -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)