My Nix Configuration

[flake] more updates

pyrox.dev bbe9ec38 f0ec6d20

verified
Changed files
+463 -139
homeModules
hosts
zaphod
services
nixosModules
+2 -2
MIGRATE.md
···
-
- [ ] easy-hosts
-
- [ ] HM Configs
+
- [x] easy-hosts
+
- [x] HM Configs
- [x] modules
- [x] packages
- [x] devShells
+69 -77
flake.lock
···
"type": "github"
}
},
+
"caelestia": {
+
"inputs": {
+
"caelestia-cli": "caelestia-cli",
+
"nixpkgs": [
+
"nixpkgs"
+
],
+
"quickshell": "quickshell"
+
},
+
"locked": {
+
"lastModified": 1760231944,
+
"narHash": "sha256-cZTyyHnZLAfdV3WO5QKZTKppBA7ksII9JHXU9cLZQZc=",
+
"owner": "caelestia-dots",
+
"repo": "shell",
+
"rev": "72d335d7c56d130f8008fa32e65c0b9ab69718e4",
+
"type": "github"
+
},
+
"original": {
+
"owner": "caelestia-dots",
+
"repo": "shell",
+
"type": "github"
+
}
+
},
+
"caelestia-cli": {
+
"inputs": {
+
"caelestia-shell": [
+
"caelestia"
+
],
+
"nixpkgs": [
+
"caelestia",
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1760147156,
+
"narHash": "sha256-ad+1gnp7Lm7jVSzqvGjMiwnA0P61dFZmp6HcRMXicWY=",
+
"owner": "caelestia-dots",
+
"repo": "cli",
+
"rev": "e9668d58f51e935094e50090b99301df8344f590",
+
"type": "github"
+
},
+
"original": {
+
"owner": "caelestia-dots",
+
"repo": "cli",
+
"type": "github"
+
}
+
},
"ctp": {
"inputs": {
"nixpkgs": "nixpkgs"
···
"type": "github"
}
},
-
"flake-utils_3": {
-
"inputs": {
-
"systems": "systems_5"
-
},
-
"locked": {
-
"lastModified": 1731533236,
-
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"type": "github"
-
}
-
},
"golink": {
"inputs": {
"nixpkgs": [
···
"url": "https://github.com/IBM/plex/releases/download/@ibm/plex-mono@1.1.0/ibm-plex-mono.zip"
}
},
-
"iceshrimp": {
-
"inputs": {
-
"nixpkgs": [
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1721338360,
-
"narHash": "sha256-1CEhakLtPq+Lqo+p40wo00hkewmyzPAvjBr8ah6Faqk=",
-
"ref": "refs/heads/dev",
-
"rev": "98c3678cfbcea5e750a5947394d35a73ae72634a",
-
"revCount": 48,
-
"type": "git",
-
"url": "https://iceshrimp.dev/pyrox/packaging"
-
},
-
"original": {
-
"type": "git",
-
"url": "https://iceshrimp.dev/pyrox/packaging"
-
}
-
},
"indigo": {
"flake": false,
"locked": {
···
"type": "github"
}
},
+
"quickshell": {
+
"inputs": {
+
"nixpkgs": [
+
"caelestia",
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1760228179,
+
"narHash": "sha256-4Z6k7lv3Zcgk3K+4h60LpqB9wCkR+utkYERU735U068=",
+
"ref": "refs/heads/master",
+
"rev": "c9d3ffb6043c5bf3f3009202bad7e0e5132c4a25",
+
"revCount": 693,
+
"type": "git",
+
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
+
},
+
"original": {
+
"type": "git",
+
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
+
}
+
},
"root": {
"inputs": {
"agenix": "agenix",
"buildbot-nix": "buildbot-nix",
+
"caelestia": "caelestia",
"ctp": "ctp",
"determinate": "determinate",
"dix": "dix",
···
"golink": "golink",
"hardware": "hardware",
"home-manager": "home-manager",
-
"iceshrimp": "iceshrimp",
"my-pkgs": "my-pkgs",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2",
"nixpkgs-stalwart-fix": "nixpkgs-stalwart-fix",
-
"tangled": "tangled",
-
"vicinae": "vicinae"
+
"tangled": "tangled"
}
},
"sqlite-lib-src": {
···
"type": "github"
}
},
-
"systems_5": {
-
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-systems",
-
"repo": "default",
-
"type": "github"
-
}
-
},
"tangled": {
"inputs": {
"flake-compat": "flake-compat_2",
···
"original": {
"type": "git",
"url": "https://tangled.org/@tangled.org/core"
-
}
-
},
-
"vicinae": {
-
"inputs": {
-
"flake-utils": "flake-utils_3",
-
"nixpkgs": [
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1760025216,
-
"narHash": "sha256-gyRU+Xv8ABhiSTHFFllwMC7lLzINBiESDFlhZuQoIY0=",
-
"owner": "vicinaehq",
-
"repo": "vicinae",
-
"rev": "7757b8fc6ee8488a8cb27aca3260317132676540",
-
"type": "github"
-
},
-
"original": {
-
"owner": "vicinaehq",
-
"repo": "vicinae",
-
"type": "github"
}
}
},
+4 -8
flake.nix
···
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "";
};
+
caelestia = {
+
url = "github:caelestia-dots/shell";
+
inputs.nixpkgs.follows = "nixpkgs";
+
};
ctp = {
url = "github:catppuccin/nix";
};
···
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
-
iceshrimp = {
-
url = "git+https://iceshrimp.dev/pyrox/packaging";
-
inputs.nixpkgs.follows = "nixpkgs";
-
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
my-pkgs = {
url = "git+https://git.pyrox.dev/pyrox/pkgs";
-
inputs.nixpkgs.follows = "nixpkgs";
-
};
-
vicinae = {
-
url = "github:vicinaehq/vicinae";
inputs.nixpkgs.follows = "nixpkgs";
};
tangled = {
-1
homeModules/all-modules.nix
···
inputs.nix-index-database.homeModules.nix-index
inputs.ctp.homeModules.catppuccin
-
inputs.vicinae.homeManagerModules.default
];
}
-1
homeModules/profiles/gui/default.nix
···
kanshi.enable = mkDefault false;
kdeconnect.enable = mkDefault true;
mako.enable = mkDefault false;
-
vicinae.enable = mkDefault true;
swayidle.enable = mkDefault true;
syncthing.enable = mkDefault false;
};
+1 -11
homeModules/programs/zed-editor/settings.nix
···
auto_update = false;
buffer_font_family = "BlexMono Nerd Font";
buffer_font_size = 15;
+
disable_ai = true;
git_panel.button = true;
load_direnv = "direct";
lsp.deno.settings.deno.enable = true;
···
ui_font_size = 15;
vim_mode = true;
wrap_guides = [ 100 ];
-
-
assistant = {
-
enabled = false;
-
button = false;
-
version = "2";
-
};
-
-
features = {
-
copilot = false;
-
edit_prediction_provider = "none";
-
};
icon_theme = {
mode = "dark";
-1
homeModules/services/default.nix
···
./mako
./swayidle
./syncthing
-
./vicinae
];
}
-15
homeModules/services/vicinae/default.nix
···
-
{
-
config,
-
lib,
-
...
-
}:
-
let
-
cfg = config.py.services.vicinae;
-
in
-
{
-
options.py.services.vicinae.enable = lib.mkEnableOption "Vicinae";
-
config.services.vicinae = lib.mkIf cfg.enable {
-
enable = true;
-
autoStart = true;
-
};
-
}
-1
homeModules/wayland/hyprland/default.nix
···
in
{
imports = [
-
./hyprpanel.nix
./services.nix
./hypridle.nix
./hyprlock.nix
+2
homeModules/wayland/hyprland/env.nix
···
"NIXOS_OZONE_WL, 1"
"XDG_SESSION_TYPE, wayland"
"QT_QPA_PLATFORM, wayland"
+
"XDG_CURRENT_DESKTOP, Hyprland"
+
"XDG_SESSION_DESKTOP, Hyprland"
];
}
-14
homeModules/wayland/hyprland/hyprpanel.nix
···
-
{
-
config,
-
lib,
-
...
-
}:
-
let
-
cfg = config.wayland.windowManager.hyprland;
-
in
-
{
-
programs.hyprpanel = lib.mkIf cfg.enable {
-
enable = true;
-
systemd.enable = true;
-
};
-
}
+2 -2
homeModules/wayland/hyprland/keybindings.nix
···
bind = [
"SUPER_SHIFT, F, exec, MOZ_DISABLE_RDD_SANDBOX=1 firefox"
"$mod, Return, exec, ghostty"
-
"$mod, X, exec, wlogout"
-
"$mod, D, exec, vicinae toggle"
+
"$mod, X, global, caelestia:session"
+
"$mod, D, global, caelestia:launcher"
"SUPER_SHIFT, E, exit"
# Media Binds
-3
homeModules/wayland/hyprland/settings.nix
···
windowrules = import ./windowrules.nix;
in
{
-
exec-once = [
-
"hyprpanel"
-
];
animation = [
"global, 1, 4, default"
];
+4 -2
homeModules/wayland/hyprland/variables.nix
···
{
general = {
gaps_in = 1;
-
gaps_out = 1;
-
gaps_workspaces = 80;
+
gaps_out = 10;
layout = "hy3";
resize_on_border = true;
};
···
tap_button_map = "lmr";
tap-and-drag = false;
};
+
};
+
cursor = {
+
hotspot_padding = 2;
};
ecosystem = {
no_update_news = true;
+1 -1
hosts/zaphod/services/misc.nix
···
{ config, lib, ... }:
{
services = {
-
blueman.enable = true;
+
blueman.enable = false;
fstrim.enable = lib.mkDefault true;
tlp.enable = lib.mkDefault (
(lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
+50
nixosModules/homes/thehedgehog-zaphod/caelestia-cli.json
···
+
{
+
"record": {
+
"extraArgs": []
+
},
+
"theme": {
+
"enableTerm": false,
+
"enableHypr": false,
+
"enableDiscord": false,
+
"enableSpicetify": false,
+
"enableFuzzel": false,
+
"enableBtop": true,
+
"enableGtk": false,
+
"enableQt": false
+
},
+
"toggles": {
+
"communication": {
+
"discord": {
+
"enable": true,
+
"match": [
+
{
+
"class": "equibop"
+
}
+
],
+
"command": [
+
"equibop"
+
],
+
"move": true
+
}
+
},
+
"sysmon": {
+
"btop": {
+
"enable": true,
+
"match": [
+
{
+
"class": "btop",
+
"title": "btop",
+
"workspace": {
+
"name": "special:sysmon"
+
}
+
}
+
],
+
"command": [
+
"ghostty",
+
"-e",
+
"btop"
+
]
+
}
+
}
+
}
+
}
+314
nixosModules/homes/thehedgehog-zaphod/caelestia-shell.json
···
+
{
+
"appearance": {
+
"anim": {
+
"durations": {
+
"scale": 0.5
+
}
+
},
+
"font": {
+
"family": {
+
"clock": "Inter",
+
"material": "Material Symbols Rounded",
+
"mono": "BlexMono Nerd Font",
+
"sans": "Inter"
+
},
+
"size": {
+
"scale": 1.1
+
}
+
},
+
"padding": {
+
"scale": 1
+
},
+
"rounding": {
+
"scale": 0
+
},
+
"spacing": {
+
"scale": 0.5
+
},
+
"transparency": {
+
"base": 0.85,
+
"enabled": false,
+
"layers": 0.4
+
}
+
},
+
"background": {
+
"desktopClock": {
+
"enabled": false
+
},
+
"enabled": true,
+
"visualiser": {
+
"autoHide": true,
+
"enabled": false,
+
"rounding": 1,
+
"spacing": 1
+
}
+
},
+
"bar": {
+
"clock": {
+
"showIcon": false
+
},
+
"dragThreshold": 20,
+
"entries": [
+
{
+
"enabled": true,
+
"id": "workspaces"
+
},
+
{
+
"enabled": true,
+
"id": "spacer"
+
},
+
{
+
"enabled": false,
+
"id": "activeWindow"
+
},
+
{
+
"enabled": true,
+
"id": "spacer"
+
},
+
{
+
"enabled": true,
+
"id": "clock"
+
},
+
{
+
"enabled": true,
+
"id": "statusIcons"
+
},
+
{
+
"enabled": true,
+
"id": "tray"
+
},
+
{
+
"enabled": true,
+
"id": "power"
+
}
+
],
+
"persistent": true,
+
"scrollActions": {
+
"brightness": false,
+
"volume": false,
+
"workspaces": false
+
},
+
"showOnHover": true,
+
"status": {
+
"showAudio": true,
+
"showBattery": true,
+
"showBluetooth": true,
+
"showKbLayout": false,
+
"showLockStatus": true,
+
"showMicrophone": false,
+
"showNetwork": true
+
},
+
"tray": {
+
"background": true,
+
"compact": false,
+
"iconSubs": [],
+
"recolour": true
+
},
+
"workspaces": {
+
"activeIndicator": true,
+
"activeLabel": "",
+
"activeTrail": false,
+
"label": " ",
+
"occupiedBg": false,
+
"occupiedLabel": "",
+
"perMonitorWorkspaces": true,
+
"showWindows": true,
+
"shown": 5
+
}
+
},
+
"border": {
+
"rounding": 0,
+
"thickness": 10
+
},
+
"dashboard": {
+
"dragThreshold": 50,
+
"enabled": true,
+
"mediaUpdateInterval": 500,
+
"showOnHover": true
+
},
+
"general": {
+
"apps": {
+
"audio": ["pwvucontrol"],
+
"explorer": ["thunar"],
+
"playback": ["mpv"],
+
"terminal": ["ghostty"]
+
},
+
"battery": {
+
"criticalLevel": 3,
+
"warnLevels": [
+
{
+
"icon": "battery_android_frame_2",
+
"level": 20,
+
"message": "You might want to plug in a charger",
+
"title": "Low battery"
+
},
+
{
+
"icon": "battery_android_frame_1",
+
"level": 10,
+
"message": "You should probably plug in a charger <b>now</b>",
+
"title": "Did you see the previous message?"
+
},
+
{
+
"critical": true,
+
"icon": "battery_android_alert",
+
"level": 5,
+
"message": "PLUG THE CHARGER RIGHT NOW!!",
+
"title": "Critical battery level"
+
}
+
]
+
},
+
"idle": {
+
"inhibitWhenAudio": true,
+
"lockBeforeSleep": true,
+
"timeouts": [
+
{
+
"idleAction": "lock",
+
"timeout": 180
+
},
+
{
+
"idleAction": "dpms off",
+
"returnAction": "dpms on",
+
"timeout": 300
+
},
+
{
+
"idleAction": ["systemctl", "suspend-then-hibernate"],
+
"timeout": 600
+
}
+
]
+
}
+
},
+
"launcher": {
+
"actionPrefix": ">",
+
"actions": [
+
{
+
"command": ["autocomplete", "calc"],
+
"dangerous": false,
+
"description": "Do simple math equations (powered by Qalc)",
+
"enabled": true,
+
"icon": "calculate",
+
"name": "Calculator"
+
},
+
{
+
"command": ["systemctl", "poweroff"],
+
"dangerous": true,
+
"description": "Shutdown the system",
+
"enabled": true,
+
"icon": "power_settings_new",
+
"name": "Shutdown"
+
},
+
{
+
"command": ["systemctl", "reboot"],
+
"dangerous": true,
+
"description": "Reboot the system",
+
"enabled": true,
+
"icon": "cached",
+
"name": "Reboot"
+
},
+
{
+
"command": ["loginctl", "terminate-user", ""],
+
"dangerous": true,
+
"description": "Log out of the current session",
+
"enabled": true,
+
"icon": "exit_to_app",
+
"name": "Logout"
+
},
+
{
+
"command": ["loginctl", "lock-session"],
+
"dangerous": false,
+
"description": "Lock the current session",
+
"enabled": true,
+
"icon": "lock",
+
"name": "Lock"
+
},
+
{
+
"command": ["systemctl", "suspend-then-hibernate"],
+
"dangerous": false,
+
"description": "Suspend then hibernate",
+
"enabled": true,
+
"icon": "bedtime",
+
"name": "Sleep"
+
}
+
],
+
"dragThreshold": 50,
+
"enableDangerousActions": false,
+
"hiddenApps": [],
+
"maxShown": 7,
+
"maxWallpapers": 9,
+
"showOnHover": false,
+
"specialPrefix": "@",
+
"useFuzzy": {
+
"actions": false,
+
"apps": true,
+
"schemes": false,
+
"variants": false,
+
"wallpapers": false
+
},
+
"vimKeybinds": true
+
},
+
"lock": {
+
"recolourLogo": false
+
},
+
"notifs": {
+
"actionOnClick": true,
+
"clearThreshold": 0.3,
+
"defaultExpireTimeout": 5000,
+
"expandThreshold": 20,
+
"expire": true
+
},
+
"osd": {
+
"enableBrightness": true,
+
"enableMicrophone": false,
+
"enabled": true,
+
"hideDelay": 2000
+
},
+
"paths": {
+
"mediaGif": "",
+
"sessionGif": "",
+
"wallpaperDir": "~/bgs/wallpapers/xenia/"
+
},
+
"services": {
+
"audioIncrement": 0.1,
+
"defaultPlayer": "Spotify",
+
"gpuType": "",
+
"playerAliases": [
+
{
+
"from": "Mozilla firefox",
+
"to": "Firefox"
+
}
+
],
+
"smartScheme": false,
+
"useFahrenheit": true,
+
"useTwelveHourClock": false,
+
"visualiserBars": 0,
+
"weatherLocation": "Norfolk+Virginia"
+
},
+
"session": {
+
"commands": {
+
"hibernate": ["systemctl", "hibernate"],
+
"logout": ["loginctl", "terminate-user", ""],
+
"reboot": ["systemctl", "reboot"],
+
"shutdown": ["systemctl", "poweroff"]
+
},
+
"dragThreshold": 30,
+
"enabled": true,
+
"vimKeybinds": false
+
},
+
"sidebar": {
+
"dragThreshold": 80,
+
"enabled": true
+
},
+
"utilities": {
+
"enabled": true,
+
"maxToasts": 4,
+
"toasts": {
+
"audioInputChanged": true,
+
"audioOutputChanged": true,
+
"capsLockChanged": true,
+
"chargingChanged": true,
+
"configLoaded": true,
+
"dndChanged": true,
+
"gameModeChanged": true,
+
"numLockChanged": true
+
}
+
}
+
}
+14
nixosModules/homes/thehedgehog-zaphod/default.nix
···
{
pkgs,
config,
+
inputs,
...
}:
let
···
in
{
home-manager.users.thehedgehog = {
+
imports = [
+
inputs.caelestia.homeManagerModules.default
+
];
home.packages = [
pkgs.mindustry
pkgs.signal-desktop
···
};
}
];
+
programs.caelestia = {
+
enable = true;
+
settings = builtins.fromJSON (builtins.readFile ./caelestia-shell.json);
+
systemd = {
+
enable = true;
+
target = "graphical-session.target";
+
};
+
cli.enable = true;
+
cli.settings = builtins.fromJSON (builtins.readFile ./caelestia-cli.json);
+
};
};
}