This commit is contained in:
death916 2025-12-26 00:46:42 -08:00
commit 8fb14c58f3
12 changed files with 673 additions and 251 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
*.md
*.jpg

377
flake.lock generated
View file

@ -20,11 +20,11 @@
]
},
"locked": {
"lastModified": 1764714051,
"narHash": "sha256-AjcMlM3UoavFoLzr0YrcvsIxALShjyvwe+o7ikibpCM=",
"lastModified": 1765900596,
"narHash": "sha256-+hn8v9jkkLP9m+o0Nm5SiEq10W0iWDSotH2XfjU45fA=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "a43bedcceced5c21ad36578ed823e6099af78214",
"rev": "d83c97f8f5c0aae553c1489c7d9eff3eadcadace",
"type": "github"
},
"original": {
@ -33,6 +33,74 @@
"type": "github"
}
},
"base16": {
"inputs": {
"fromYaml": "fromYaml"
},
"locked": {
"lastModified": 1755819240,
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
"owner": "SenchoPens",
"repo": "base16.nix",
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "base16.nix",
"type": "github"
}
},
"base16-fish": {
"flake": false,
"locked": {
"lastModified": 1765809053,
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
"owner": "tomyun",
"repo": "base16-fish",
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github"
},
"original": {
"owner": "tomyun",
"repo": "base16-fish",
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github"
}
},
"base16-helix": {
"flake": false,
"locked": {
"lastModified": 1760703920,
"narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
"owner": "tinted-theming",
"repo": "base16-helix",
"rev": "d646af9b7d14bff08824538164af99d0c521b185",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-helix",
"type": "github"
}
},
"base16-vim": {
"flake": false,
"locked": {
"lastModified": 1732806396,
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
}
},
"crane": {
"locked": {
"lastModified": 1748047550,
@ -70,6 +138,22 @@
"type": "github"
}
},
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1764724327,
"narHash": "sha256-OkFLrD3pFR952TrjQi1+Vdj604KLcMnkpa7lkW7XskI=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "66b7c635763d8e6eb86bd766de5a1e1fbfcc1047",
"type": "github"
},
"original": {
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -102,6 +186,27 @@
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1763759067,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flox": {
"inputs": {
"crane": "crane",
@ -110,11 +215,11 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1765490355,
"narHash": "sha256-3u7e7MDLv+BB43njIDySRjsqN+VQ4L0o84OTPM1Irk0=",
"lastModified": 1766171696,
"narHash": "sha256-A7Re9iWSDTtsRnYenr53VMgr3vMP8/PBcPgi2nbKG+k=",
"owner": "flox",
"repo": "flox",
"rev": "f61bb537a31f866b03533d691796c74fb95f682a",
"rev": "f4bba944fc14562fd29c5164436b61a7fbb1d88d",
"type": "github"
},
"original": {
@ -123,6 +228,22 @@
"type": "github"
}
},
"fromYaml": {
"flake": false,
"locked": {
"lastModified": 1731966426,
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
"owner": "SenchoPens",
"repo": "fromYaml",
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "fromYaml",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
@ -167,6 +288,25 @@
"type": "github"
}
},
"gnome-shell": {
"flake": false,
"locked": {
"host": "gitlab.gnome.org",
"lastModified": 1764524476,
"narHash": "sha256-bTmNn3Q4tMQ0J/P0O5BfTQwqEnCiQIzOGef9/aqAZvk=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "c0e1ad9f0f703fd0519033b8f46c3267aab51a22",
"type": "gitlab"
},
"original": {
"host": "gitlab.gnome.org",
"owner": "GNOME",
"ref": "gnome-49",
"repo": "gnome-shell",
"type": "gitlab"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -174,11 +314,11 @@
]
},
"locked": {
"lastModified": 1765384171,
"narHash": "sha256-FuFtkJrW1Z7u+3lhzPRau69E0CNjADku1mLQQflUORo=",
"lastModified": 1766292113,
"narHash": "sha256-sWTtmkQujRpjWYCnZc8LWdDiCzrRlSBPrGovkZpLkBI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "44777152652bc9eacf8876976fa72cc77ca8b9d8",
"rev": "fdec8815a86db36f42fc9c8cb2931cd8485f5aed",
"type": "github"
},
"original": {
@ -263,11 +403,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1765497587,
"narHash": "sha256-5y9GUuRo3mjCk3gzR73kQy9trbS8vJ5fv7d7bGBSoyE=",
"lastModified": 1766422408,
"narHash": "sha256-eWwTRcHCo2E1RwUKn4NcBrI9P8OCSEwBRhCp8/MJrbI=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "8dfdcfb35385eabb821e668d327b30ea3e483ab8",
"rev": "abffe75088e2d776e14e5dbd726a835fa157df9a",
"type": "github"
},
"original": {
@ -309,11 +449,11 @@
]
},
"locked": {
"lastModified": 1764812575,
"narHash": "sha256-1bK1yGgaR82vajUrt6z+BSljQvFn91D74WJ/vJsydtE=",
"lastModified": 1765643131,
"narHash": "sha256-CCGohW5EBIRy4B7vTyBMqPgsNcaNenVad/wszfddET0=",
"owner": "hyprwm",
"repo": "hyprland-guiutils",
"rev": "fd321368a40c782cfa299991e5584ca338e36ebe",
"rev": "e50ae912813bdfa8372d62daf454f48d6df02297",
"type": "github"
},
"original": {
@ -334,11 +474,11 @@
]
},
"locked": {
"lastModified": 1759610243,
"narHash": "sha256-+KEVnKBe8wz+a6dTLq8YDcF3UrhQElwsYJaVaHXJtoI=",
"lastModified": 1765214753,
"narHash": "sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "bd153e76f751f150a09328dbdeb5e4fab9d23622",
"rev": "3f3860b869014c00e8b9e0528c7b4ddc335c21ab",
"type": "github"
},
"original": {
@ -440,11 +580,11 @@
]
},
"locked": {
"lastModified": 1764962281,
"narHash": "sha256-rGbEMhTTyTzw4iyz45lch5kXseqnqcEpmrHdy+zHsfo=",
"lastModified": 1766160771,
"narHash": "sha256-roINUGikWRqqgKrD4iotKbGj3ZKJl3hjMz5l/SyKrHw=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "fe686486ac867a1a24f99c753bb40ffed338e4b0",
"rev": "5ac060bfcf2f12b3a6381156ebbc13826a05b09f",
"type": "github"
},
"original": {
@ -494,11 +634,11 @@
]
},
"locked": {
"lastModified": 1764872015,
"narHash": "sha256-INI9AVrQG5nJZFvGPSiUZ9FEUZJLfGdsqjF1QSak7Gc=",
"lastModified": 1766253200,
"narHash": "sha256-26qPwrd3od+xoYVywSB7hC2cz9ivN46VPLlrsXyGxvE=",
"owner": "hyprwm",
"repo": "hyprwire",
"rev": "7997451dcaab7b9d9d442f18985d514ec5891608",
"rev": "1079777525b30a947c8d657fac158e00ae85de9d",
"type": "github"
},
"original": {
@ -525,11 +665,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1765186076,
"narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
"lastModified": 1766309749,
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
"rev": "a6531044f6d0bef691ea18d4d4ce44d0daa6e816",
"type": "github"
},
"original": {
@ -541,11 +681,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1764950072,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
"lastModified": 1766070988,
"narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f61125a668a320878494449750330ca58b78c557",
"rev": "c6245e83d836d0433170a16eb185cefe0572f8b8",
"type": "github"
},
"original": {
@ -557,11 +697,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1765311797,
"narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=",
"lastModified": 1766201043,
"narHash": "sha256-eplAP+rorKKd0gNjV3rA6+0WMzb1X1i16F5m5pASnjA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b",
"rev": "b3aad468604d3e488d627c0b43984eb60e75e782",
"type": "github"
},
"original": {
@ -571,6 +711,31 @@
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": [
"stylix",
"flake-parts"
],
"nixpkgs": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1764773531,
"narHash": "sha256-mCBl7MD1WZ7yCG6bR9MmpPO2VydpNkWFgnslJRIT1YU=",
"owner": "nix-community",
"repo": "NUR",
"rev": "1d9616689e98beded059ad0384b9951e967a17fa",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
@ -604,11 +769,11 @@
]
},
"locked": {
"lastModified": 1765016596,
"narHash": "sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ=",
"lastModified": 1765911976,
"narHash": "sha256-t3T/xm8zstHRLx+pIHxVpQTiySbKqcQbK+r+01XVKc0=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c",
"rev": "b68b780b69702a090c8bb1b973bab13756cc7a27",
"type": "github"
},
"original": {
@ -624,7 +789,8 @@
"hyprland": "hyprland",
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"rust-overlay": "rust-overlay"
"rust-overlay": "rust-overlay",
"stylix": "stylix"
}
},
"rust-analyzer-src": {
@ -651,11 +817,11 @@
]
},
"locked": {
"lastModified": 1765507345,
"narHash": "sha256-fq34mBLvAgv93EuZjGp7cVV633pxnph9AVuB/Ql5y5Q=",
"lastModified": 1766457837,
"narHash": "sha256-aeBbkQ0HPFNOIsUeEsXmZHXbYq4bG8ipT9JRlCcKHgU=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "a9471b23bf656d69ceb2d5ddccdc5082d51fc0e3",
"rev": "2c7510a559416d07242621d036847152d970612b",
"type": "github"
},
"original": {
@ -664,6 +830,41 @@
"type": "github"
}
},
"stylix": {
"inputs": {
"base16": "base16",
"base16-fish": "base16-fish",
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts",
"gnome-shell": "gnome-shell",
"nixpkgs": [
"nixpkgs"
],
"nur": "nur",
"systems": "systems_2",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
"tinted-tmux": "tinted-tmux",
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1766515275,
"narHash": "sha256-2iOwFYtsU2d5Np2pN5cDtPRrs9KswTjP+fVEXk+9QqI=",
"owner": "nix-community",
"repo": "stylix",
"rev": "c97b7b37b2d068b98271dce203857325abf58fb6",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.11",
"repo": "stylix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
@ -679,6 +880,102 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
"lastModified": 1726913040,
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
}
},
"tinted-kitty": {
"flake": false,
"locked": {
"lastModified": 1735730497,
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-kitty",
"type": "github"
}
},
"tinted-schemes": {
"flake": false,
"locked": {
"lastModified": 1763914658,
"narHash": "sha256-Hju0WtMf3iForxtOwXqGp3Ynipo0EYx1AqMKLPp9BJw=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "0f6be815d258e435c9b137befe5ef4ff24bea32c",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "schemes",
"type": "github"
}
},
"tinted-tmux": {
"flake": false,
"locked": {
"lastModified": 1764465359,
"narHash": "sha256-lbSVPqLEk2SqMrnpvWuKYGCaAlfWFMA6MVmcOFJjdjE=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
"rev": "edf89a780e239263cc691a987721f786ddc4f6aa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-tmux",
"type": "github"
}
},
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1764464512,
"narHash": "sha256-rCD/pAhkMdCx6blsFwxIyvBJbPZZ1oL2sVFrH07lmqg=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "907dbba5fb8cf69ebfd90b00813418a412d0a29a",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-zed",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": [

View file

@ -16,6 +16,11 @@
};
flox.url = "github:flox/flox";
hyprland.url = "github:hyprwm/Hyprland";
stylix = {
url = "github:nix-community/stylix/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -27,6 +32,7 @@
rust-overlay,
flox,
hyprland,
stylix,
...
}:
let
@ -71,10 +77,12 @@
overlays
primaryUser
hyprland # Pass hyprland to specialArgs
stylix
;
unstablePkgs = import nixpkgs-unstable { inherit system; };
};
modules = [
stylix.nixosModules.stylix
{
nixpkgs.overlays = [
overlays.waveterm
@ -85,9 +93,13 @@
}
./nixos/configuration.nix
./nixos/hardware-configuration.nix
{ stylix.image = "/home/death916/Documents/nix-config/home-manager/wallpaper.jpg"; }
home-manager.nixosModules.home-manager
(
{ unstablePkgs, ... }:
{
unstablePkgs,
...
}:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
@ -96,6 +108,7 @@
home-manager.users.death916 = {
imports = [
./home-manager/home.nix
stylix.homeModules.stylix
];
};
}

View file

@ -16,15 +16,16 @@ in
imports = [
../modules/home-manager/common.nix
./hyprland.nix # Add this line to import your Hyprland configuration
./theme.nix # Import the stylix theme configuration
];
home.username = "death916";
home.homeDirectory = "/home/death916";
xresources.properties = {
"Xcursor.size" = 16;
"Xft.dpi" = 172;
};
# xresources.properties = {
# "Xcursor.size" = 16;
# "Xft.dpi" = 172;
# };
home.stateVersion = "24.11";
home.packages = with pkgs; [
nnn
@ -74,7 +75,6 @@ in
obsidian
element-desktop
manix
unstablePkgs.zed-editor-fhs
aichat
wl-clipboard
unstablePkgs.gemini-cli
@ -98,6 +98,9 @@ in
kdePackages.kdeconnect-kde
restic-browser
cava
fedistar
yazi
lazygit
];
nixpkgs.overlays = [
@ -184,7 +187,15 @@ in
programs.vscode = {
enable = true;
package = pkgs.vscode.fhs;
package = pkgs.vscode.fhsWithPackages (
ps: with ps; [
rustup
zlib
openssl.dev
pkg-config
cargo
]
);
};
programs.bash = {
@ -202,4 +213,13 @@ in
nh-push = "/home/death916/Documents/nix-config/scripts/nh-push";
};
};
programs.zellij.enable = true;
programs.zed-editor = {
enable = true;
package = pkgs.zed-editor-fhs;
};
programs.btop.enable = true;
}

View file

@ -1,4 +1,5 @@
{
config,
pkgs,
inputs,
unstablePkgs,
@ -15,12 +16,18 @@
settings = {
monitor = ",1920x1080,auto,1";
env = [
"QT_QPA_PLATFORM,wayland"
"GDK_BACKEND,wayland,x11"
];
exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"swww init &"
"waybar &"
"swww img /home/death916/Pictures/wallpapers/jameswebb1.jpg &"
# Stylix will manage the wallpaper
# "swww img /home/death916/Pictures/wallpapers/jameswebb1.jpg &"
"dunst &"
"nm-applet --indicator &"
"blueman-applet &"
@ -30,8 +37,9 @@
gaps_in = 5;
gaps_out = 10;
border_size = 2;
"col.active_border" = "rgba(cba6f7ee) rgba(1e66f5ee) 45deg";
"col.inactive_border" = "rgba(313244aa)";
# Stylix will manage these
# "col.active_border" = "rgba(cba6f7ee) rgba(1e66f5ee) 45deg";
# "col.inactive_border" = "rgba(313244aa)";
layout = "dwindle";
};
@ -175,7 +183,8 @@
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
extraPortals = with pkgs;
[
xdg-desktop-portal-gtk
];
};
@ -282,120 +291,120 @@
};
};
};
style = ''
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
# style = '' # Managed by stylix
# @define-color rosewater #f5e0dc;
# @define-color flamingo #f2cdcd;
# @define-color pink #f5c2e7;
# @define-color mauve #cba6f7;
# @define-color red #f38ba8;
# @define-color maroon #eba0ac;
# @define-color peach #fab387;
# @define-color yellow #f9e2af;
# @define-color green #a6e3a1;
# @define-color teal #94e2d5;
# @define-color sky #89dceb;
# @define-color sapphire #74c7ec;
# @define-color blue #89b4fa;
# @define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
# @define-color text #cdd6f4;
# @define-color subtext1 #bac2de;
# @define-color subtext0 #a6adc8;
# @define-color overlay2 #9399b2;
# @define-color overlay1 #7f849c;
# @define-color overlay0 #6c7086;
# @define-color surface2 #585b70;
# @define-color surface1 #45475a;
# @define-color surface0 #313244;
# @define-color base #1e1e2e;
# @define-color mantle #181825;
# @define-color crust #11111b;
* {
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
# * {
# font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
# font-size: 13px;
# }
window#waybar {
background-color: rgba(17, 17, 27, 0.5);
color: @text;
}
# window#waybar {
# background-color: rgba(17, 17, 27, 0.5);
# color: @text;
# }
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: @overlay1;
border-radius: 0;
}
# #workspaces button {
# padding: 0 5px;
# background-color: transparent;
# color: @overlay1;
# border-radius: 0;
# }
#workspaces button.active {
color: @lavender;
border-bottom: 2px solid @lavender;
}
# #workspaces button.active {
# color: @lavender;
# border-bottom: 2px solid @lavender;
# }
#workspaces button:hover {
background-color: @surface0;
}
# #workspaces button:hover {
# background-color: @surface0;
# }
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #window {
padding: 0 10px;
margin: 3px 4px;
border-radius: 8px;
background-color: @mantle;
}
# #clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #window {
# padding: 0 10px;
# margin: 3px 4px;
# border-radius: 8px;
# background-color: @mantle;
# }
#clock {
background-color: @crust;
color: @text;
}
# #clock {
# background-color: @crust;
# color: @text;
# }
#battery {
background-color: @crust;
color: @text;
}
# #battery {
# background-color: @crust;
# color: @text;
# }
#battery.charging, #battery.plugged {
background-color: @green;
}
# #battery.charging, #battery.plugged {
# background-color: @green;
# }
#cpu {
background-color: @crust;
color: @text;
}
# #cpu {
# background-color: @crust;
# color: @text;
# }
#memory {
background-color: @crust;
color: @text;
}
# #memory {
# background-color: @crust;
# color: @text;
# }
#network {
background-color: @crust;
color: @text;
}
# #network {
# background-color: @crust;
# color: @text;
# }
#pulseaudio {
background-color: @crust;
color: @text;
}
# #pulseaudio {
# background-color: @crust;
# color: @text;
# }
#pulseaudio.muted {
background-color: @surface1;
}
# #pulseaudio.muted {
# background-color: @surface1;
# }
#custom-wttrbar {
background-color: @crust;
color: @text;
}
'';
# #custom-wttrbar {
# background-color: @crust;
# color: @text;
# }
# '';
};
programs.rofi = {
enable = true;
theme = "arthur";
# theme = "arthur"; # Managed by stylix
extraConfig = {
modi = "drun,run,ssh,window";
show-icons = true;
icon-theme = "Papirus-Dark";
# icon-theme = "Papirus-Dark"; # Managed by stylix
};
};
@ -413,15 +422,15 @@
height = 150;
offset = "10x50";
origin = "top-right";
font = "JetBrainsMono Nerd Font 10";
# font = "JetBrainsMono Nerd Font 10"; # Managed by stylix
line_height = 0;
notification_height = 0;
separator_height = 2;
padding = 8;
horizontal_padding = 8;
frame_width = 2;
frame_color = "#cba6f7";
separator_color = "frame";
# frame_color = "#cba6f7"; # Managed by stylix
# separator_color = "frame"; # Managed by stylix
word_wrap = true;
ellipsize = "middle";
ignore_dbus_close = false;
@ -449,18 +458,19 @@
hide_duplicate_count = false;
show_indicators = true;
};
urgency_low = {
background = "#1e1e2e";
foreground = "#cdd6f4";
};
urgency_normal = {
background = "#1e1e2e";
foreground = "#cdd6f4";
};
urgency_critical = {
background = "#f38ba8";
foreground = "#1e1e2e";
};
# The following blocks are managed by stylix
# urgency_low = {
# background = "#1e1e2e";
# foreground = "#cdd6f4";
# };
# urgency_normal = {
# background = "#1e1e2e";
# foreground = "#cdd6f4";
# };
# urgency_critical = {
# background = "#f38ba8";
# foreground = "#1e1e2e";
# };
};
};
@ -468,46 +478,9 @@
enable = true;
};
gtk = {
enable = true;
gtk3 = {
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
gtk4 = {
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
theme = {
name = "Materia-dark";
package = pkgs.materia-theme;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
cursorTheme = {
name = "Catppuccin-Mocha-Dark-Cursors";
package = pkgs.catppuccin-cursors;
size = 24;
};
};
qt = {
enable = true;
platformTheme.name = "qt5ct";
};
home.sessionVariables = {
QT_STYLE_OVERRIDE = "qt5ct";
};
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
home.packages = with pkgs;
[
nerd-fonts.jetbrains-mono
noto-fonts
noto-fonts-cjk-sans

54
home-manager/theme.nix Normal file
View file

@ -0,0 +1,54 @@
{
config,
pkgs,
inputs,
...
}:
{
imports = [
./themes/ferra.nix
];
stylix.enable = true;
stylix.polarity = "dark";
stylix.cursor = {
package = pkgs.catppuccin-cursors;
name = "Catppuccin-Mocha-Dark-Cursors";
size = 24;
};
stylix.fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
sansSerif = {
package = pkgs.noto-fonts;
name = "Noto Sans";
};
serif = {
package = pkgs.noto-fonts;
name = "Noto Serif";
};
emoji = {
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
};
stylix.targets = {
hyprland.enable = true;
waybar.enable = true;
rofi.enable = true;
dunst.enable = true;
gtk.enable = true;
kde.enable = true;
zed.enable = true;
zed.colors.enable = true;
zellij.enable = true;
zellij.colors.enable = true;
btop.enable = true;
};
}

View file

@ -0,0 +1,20 @@
{
stylix.base16Scheme = {
base00 = "#0f0f0f"; # background
base01 = "#1a1a1a"; # slightly lighter background for elements
base02 = "#706a6a"; # bright_black (for secondary elements, borders)
base03 = "#808080"; # comments/less prominent text
base04 = "#b0b0b0"; # dim foreground
base05 = "#eadccc"; # foreground
base06 = "#f0f0f0"; # brighter foreground
base07 = "#ffffff"; # white (pure white for contrast)
base08 = "#e25d6c"; # red
base09 = "#f4bb54"; # yellow
base0A = "#e8ab3b"; # cyan
base0B = "#cea37f"; # green
base0C = "#e2be8a"; # blue
base0D = "#e8ab3b"; # cyan (using cyan for purple-ish if needed)
base0E = "#ede4c8"; # magenta
base0F = "#ff8800"; # amber/orange
};
}

View file

@ -0,0 +1,20 @@
{
stylix.base16Scheme = {
base00 = "#242226"; # Main Background
base01 = "#2b292d"; # Lighter Background
base02 = "#453d41"; # Selection Background
base03 = "#ab8a79"; # Comments
base04 = "#d7bde2"; # Secondary Foreground
base05 = "#fecdb2"; # Main Foreground
base06 = "#cbc3c8"; # Lighter Foreground
base07 = "#ffffff"; # Lightest Foreground / White
base08 = "#e06b75"; # Red
base09 = "#ffa07a"; # Orange
base0A = "#f5d76e"; # Yellow
base0B = "#b1b695"; # Green
base0C = "#5dc1c5"; # Cyan
base0D = "#4a90e2"; # Blue
base0E = "#f6b6c9"; # Magenta / Pink
base0F = "#6f5d63"; # Brown
};
}

View file

@ -0,0 +1,20 @@
{
stylix.base16Scheme = {
base00 = "#0F0F19"; # Main Background
base01 = "#181824"; # Lighter Background
base02 = "#202034"; # Selection Background
base03 = "#8C8CB8"; # Comments / Dim
base04 = "#8C8CB8"; # Secondary Foreground
base05 = "#EDEDFE"; # Main Foreground
base06 = "#F8F8FF"; # Lighter Foreground
base07 = "#EDEDFE"; # Main Foreground (as white)
base08 = "#FF3366"; # Red
base09 = "#FFEA00"; # Orange / Yellow
base0A = "#FFEA00"; # Yellow
base0B = "#00F59B"; # Green
base0C = "#3CFFED"; # Cyan
base0D = "#33A1FF"; # Blue
base0E = "#FF66F6"; # Magenta
base0F = "#FF66F6"; # Violet / Magenta
};
}

View file

@ -21,7 +21,7 @@
programs.helix = {
enable = true;
settings = {
theme = "autumn_night_transparent";
# theme = "autumn_night_transparent"; # Managed by stylix
editor = {
cursor-shape = {
normal = "block";

View file

@ -25,6 +25,7 @@
services.desktopManager.cosmic.enable = true;
# services.displayManager.cosmic-greeter.enable = true;
services.desktopManager.cosmic.xwayland.enable = true;
services.system76-scheduler.enable = true;
# This is to fix clementine gui not showing up on wayland
environment.variables.QT_QPA_PLATFORM = "wayland";
@ -35,8 +36,8 @@
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# portalPackage =
# inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
environment.systemPackages = with pkgs; [
@ -45,6 +46,7 @@
vim
wget
unstablePkgs.tailscale
unstablePkgs.cosmic-session
halloy
conda
inputs.flox.packages.${pkgs.system}.flox

View file

@ -48,4 +48,6 @@
};
system.stateVersion = "24.11";
stylix.image = "/home/death916/Documents/nix-config/home-manager/wallpaper.jpg";
}