this is solid ig
This commit is contained in:
parent
56028e3345
commit
1b31f9e29c
6 changed files with 31 additions and 74 deletions
20
flake.lock
generated
20
flake.lock
generated
|
|
@ -235,22 +235,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1766651565,
|
||||
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
|
|
@ -337,7 +321,9 @@
|
|||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-parts": "flake-parts_3",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nur": "nur_2",
|
||||
"systems": "systems",
|
||||
"tinted-foot": "tinted-foot",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
stylix.url = "github:danth/stylix";
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -17,6 +16,10 @@
|
|||
url = "github:nix-community/home-manager/release-25.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
stylix = {
|
||||
url = "github:danth/stylix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, nur, nur-unstable, home-manager, stylix, ... }:
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
nativeMessagingHosts = [
|
||||
pkgs.firefoxpwa
|
||||
];
|
||||
profiles = {
|
||||
default = {};
|
||||
};
|
||||
}; # end firefox
|
||||
chromium = {
|
||||
enable = true;
|
||||
|
|
@ -20,7 +23,16 @@
|
|||
enable = true;
|
||||
silent = true;
|
||||
}; # end direnv
|
||||
discord = {
|
||||
enable = true;
|
||||
}; # end discord
|
||||
}; # end programs
|
||||
stylix.targets = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
profileNames = [ "default" ];
|
||||
};
|
||||
};
|
||||
|
||||
# obsidian special case
|
||||
# programs.obsidian.enable = true;
|
||||
|
|
@ -45,14 +57,6 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
gtk = lib.mkDefault {
|
||||
enable = true;
|
||||
cursorTheme.package = pkgs.vanilla-dmz;
|
||||
cursorTheme.name = "Vanilla-DMZ";
|
||||
font.package = pkgs.inconsolata;
|
||||
font.name = "Inconsolata";
|
||||
font.size = 14;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@
|
|||
hide-window-on-esc = true;
|
||||
tab-policy = "never";
|
||||
panel-icon-type = "none";
|
||||
custom-font = "Inconsolata 14";
|
||||
use-system-font = false;
|
||||
use-theme-colors = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,31 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
# Opinionated: Nord Base16 scheme (YAML). Swap this for Catppuccin, Gruvbox, etc.
|
||||
nordYaml = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/tinted-theming/base16-schemes/master/nord.yaml";
|
||||
sha256 = lib.fakeSha256; # replace with real hash after first build
|
||||
};
|
||||
in
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
enableReleaseChecks = false;
|
||||
|
||||
# Wallpaper applied broadly (Sway, etc.)
|
||||
image = pkgs.fetchurl {
|
||||
url = "https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=2400&q=80";
|
||||
sha256 = lib.fakeSha256; # replace with real hash after first build
|
||||
};
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/selenized-black.yaml";
|
||||
|
||||
base16Scheme = nordYaml;
|
||||
|
||||
# Choose light/dark behavior
|
||||
polarity = "dark";
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.jetbrains-mono;
|
||||
name = "JetBrains Mono";
|
||||
package = pkgs.inconsolata;
|
||||
name = "Inconsolata";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.inter;
|
||||
|
|
@ -36,37 +23,22 @@ in
|
|||
name = "Source Serif 4";
|
||||
};
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "noto-fonts-color-emoji";
|
||||
};
|
||||
|
||||
sizes = {
|
||||
applications = 11;
|
||||
terminal = 12;
|
||||
desktop = 11;
|
||||
popups = 11;
|
||||
applications = 14;
|
||||
terminal = 14;
|
||||
desktop = 14;
|
||||
popups = 14;
|
||||
};
|
||||
};
|
||||
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Ice";
|
||||
size = 24;
|
||||
size = 20;
|
||||
};
|
||||
|
||||
# Optional: global opacity hints some targets use
|
||||
opacity = {
|
||||
applications = 0.95;
|
||||
terminal = 0.92;
|
||||
popups = 0.95;
|
||||
};
|
||||
|
||||
# Tell Stylix to actually theme these:
|
||||
targets.sway.enable = true;
|
||||
targets.waybar.enable = true;
|
||||
|
||||
# Usually nice to have:
|
||||
targets.gtk.enable = true;
|
||||
targets.kitty.enable = true; # if you use kitty
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,11 +70,4 @@
|
|||
pkgs.via
|
||||
]; # end systemPackages
|
||||
}; # end environment
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
inconsolata
|
||||
]; # end packages
|
||||
}; # end fonts
|
||||
} #end file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue