Compare commits
44 commits
release-25
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
551df12ee3 | ||
|
|
844294a58e | ||
|
|
69f1522ca6 | ||
|
|
7420f203ca | ||
|
|
1297baa750 | ||
|
|
c53b4a548a | ||
|
|
626dab1b56 | ||
|
|
e6829552d4 | ||
|
|
9ba353558a | ||
|
|
e5801bdc21 | ||
|
|
f6e9fbaeb3 | ||
|
|
dd14de4432 | ||
|
|
cb6bbed75e | ||
|
|
54fcd2f342 | ||
|
|
6153df31ce | ||
|
|
953c3fb01e | ||
|
|
dfc859f54d | ||
|
|
16df6b8448 | ||
|
|
76d05fd9c0 | ||
|
|
f7b554dea9 | ||
|
|
1272e6858e | ||
|
|
9afd8230cd | ||
|
|
25354cc88b | ||
|
|
a4ffbc20ea | ||
|
|
bd00e01aab | ||
|
|
3a332459f4 | ||
|
|
46440f1bc8 | ||
|
|
61a01b75f0 | ||
|
|
4b9e0e7ba3 | ||
|
|
1acea29f68 | ||
|
|
c9e89d4478 | ||
|
|
ddc49fd564 | ||
|
|
71054adbc3 | ||
|
|
794b6e1fa7 | ||
|
|
961e2f02af | ||
|
|
8a096ccec8 | ||
|
|
49d56ea397 | ||
|
|
a87d4cb376 | ||
|
|
b01dbcdc08 | ||
|
|
a1451bc404 | ||
|
|
d5bbace3ff | ||
|
|
a8bb9ee2fa | ||
|
|
70c444a10d | ||
|
|
687a8c1bf2 |
9 changed files with 219 additions and 22 deletions
|
|
@ -6,7 +6,6 @@ end_of_line = lf
|
|||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = unset
|
||||
|
||||
[*.{diff,patch}]
|
||||
end_of_line = unset
|
||||
|
|
|
|||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -141,16 +141,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1764522689,
|
||||
"narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
|
||||
"lastModified": 1764517877,
|
||||
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
|
||||
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
description = "Theming framework for NixOS, Home Manager, nix-darwin, and Nix-on-Droid";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
|
|
|
|||
22
flake/dev/flake.lock
generated
22
flake/dev/flake.lock
generated
|
|
@ -22,16 +22,16 @@
|
|||
},
|
||||
"dev-nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1764522689,
|
||||
"narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
|
||||
"lastModified": 1764517877,
|
||||
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
|
||||
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -97,16 +97,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765859973,
|
||||
"narHash": "sha256-LN5O0h9GSgcDE/sz4+sLS3CbQALru1x4lh9hrxpeHwI=",
|
||||
"lastModified": 1765172714,
|
||||
"narHash": "sha256-/cjofqGxSWpRj2XJM+Bd5VUgWDkBWSxxO//HE+zOHMY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "7df150f0d3857cf68dae443813b27acfb201b2d8",
|
||||
"rev": "a7887340779d5e70ef68012f3823568ee59eaa30",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-25.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -140,16 +139,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764755396,
|
||||
"narHash": "sha256-f6UrlGdwg+TIxxyDjeq1M7WGNZH/vpbOm0yzPgkMy9c=",
|
||||
"lastModified": 1764764672,
|
||||
"narHash": "sha256-BZN3w7AYQlXLKBK/FXu8K/tVTXxVsk/pAwEl6aAyxhE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "64d9e2616f4ee2acee380d61ccf1f3d610e7e969",
|
||||
"rev": "8c9ba3b5d85cb985ab7372abf11af1954df15e4a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixvim",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
#
|
||||
# [1]: https://github.com/NixOS/nix/blob/d4f67fd46dfe2bc950bdfa14273f87b8a4c32e47/doc/manual/source/release-notes/rl-2.26.md?plain=1#L3-L11
|
||||
inputs = {
|
||||
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
dev-flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
|
|
@ -142,12 +142,12 @@
|
|||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||
};
|
||||
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim/nixos-25.11";
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs = {
|
||||
flake-parts.follows = "dev-flake-parts";
|
||||
nixpkgs.follows = "dev-nixpkgs";
|
||||
|
|
|
|||
177
modules/vivid/hm.nix
Normal file
177
modules/vivid/hm.nix
Normal file
|
|
@ -0,0 +1,177 @@
|
|||
{ mkTarget, ... }:
|
||||
mkTarget {
|
||||
config =
|
||||
{ colors }:
|
||||
let
|
||||
theme = "stylix";
|
||||
in
|
||||
{
|
||||
programs.vivid = {
|
||||
activeTheme = theme;
|
||||
themes.${theme} = {
|
||||
colors = {
|
||||
inherit (colors)
|
||||
base00
|
||||
base01
|
||||
base02
|
||||
base03
|
||||
base04
|
||||
base05
|
||||
base06
|
||||
base07
|
||||
base08
|
||||
base09
|
||||
base0A
|
||||
base0B
|
||||
base0C
|
||||
base0D
|
||||
base0E
|
||||
base0F
|
||||
;
|
||||
};
|
||||
|
||||
core = {
|
||||
normal_text.foreground = "base04";
|
||||
|
||||
reset_to_normal = {
|
||||
background = "base00";
|
||||
foreground = "base04";
|
||||
font-style = "regular";
|
||||
};
|
||||
|
||||
# File Types
|
||||
|
||||
regular_file.foreground = "base04";
|
||||
|
||||
directory = {
|
||||
foreground = "base0F";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
multi_hard_link = {
|
||||
foreground = "base0C";
|
||||
font-style = "underline";
|
||||
};
|
||||
|
||||
symlink.foreground = "base0C";
|
||||
broken_symlink.foreground = "base08";
|
||||
|
||||
missing_symlink_target = {
|
||||
background = "base08";
|
||||
foreground = "base05";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
fifo = {
|
||||
foreground = "base07";
|
||||
font-style = [
|
||||
"bold"
|
||||
"underline"
|
||||
];
|
||||
};
|
||||
|
||||
character_device.foreground = "base0A";
|
||||
|
||||
block_device = {
|
||||
foreground = "base0A";
|
||||
font-style = "underline";
|
||||
};
|
||||
|
||||
door = {
|
||||
foreground = "base0A";
|
||||
font-style = "italic";
|
||||
};
|
||||
|
||||
socket = {
|
||||
foreground = "base0A";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
# File Permissions
|
||||
|
||||
executable_file = {
|
||||
foreground = "base07";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
file_with_capability = {
|
||||
foreground = "base04";
|
||||
font-style = [
|
||||
"bold"
|
||||
"underline"
|
||||
];
|
||||
};
|
||||
|
||||
setuid = {
|
||||
foreground = "base04";
|
||||
font-style = [
|
||||
"bold"
|
||||
"underline"
|
||||
];
|
||||
};
|
||||
|
||||
setgid = {
|
||||
foreground = "base04";
|
||||
font-style = [
|
||||
"bold"
|
||||
"underline"
|
||||
];
|
||||
};
|
||||
|
||||
sticky = {
|
||||
background = "base0F";
|
||||
foreground = "base05";
|
||||
font-style = "underline";
|
||||
};
|
||||
|
||||
other_writable = {
|
||||
background = "base0F";
|
||||
foreground = "base05";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
sticky_other_writable = {
|
||||
background = "base0F";
|
||||
foreground = "base05";
|
||||
font-style = [
|
||||
"bold"
|
||||
"underline"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Document Types
|
||||
|
||||
archives = {
|
||||
foreground = "base05";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
executable = {
|
||||
foreground = "base07";
|
||||
font-style = "bold";
|
||||
};
|
||||
|
||||
markup = {
|
||||
foreground = "base06";
|
||||
web.foreground = "base04";
|
||||
};
|
||||
|
||||
media = {
|
||||
foreground = "base0E";
|
||||
fonts.foreground = "base04";
|
||||
};
|
||||
|
||||
office.foreground = "base0B";
|
||||
|
||||
programming = {
|
||||
source.foreground = "base07";
|
||||
tooling.foreground = "base04";
|
||||
};
|
||||
|
||||
text.foreground = "base04";
|
||||
unimportant.foreground = "base03";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/vivid/meta.nix
Normal file
6
modules/vivid/meta.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
name = "vivid";
|
||||
homepage = "https://github.com/sharkdp/vivid";
|
||||
maintainers = [ lib.maintainers.arunoruto ];
|
||||
}
|
||||
17
modules/vivid/testbeds/vivid.nix
Normal file
17
modules/vivid/testbeds/vivid.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, pkgs, ... }:
|
||||
let
|
||||
package = pkgs.vivid;
|
||||
in
|
||||
{
|
||||
stylix.testbed.ui.command = {
|
||||
text = "${lib.getExe pkgs.lsd} --all --long --recursive flake-parts/";
|
||||
useTerminal = true;
|
||||
};
|
||||
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
programs.vivid = {
|
||||
enable = true;
|
||||
inherit package;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
options.stylix = {
|
||||
release = lib.mkOption {
|
||||
description = "The version of NixOS that Stylix is built to support";
|
||||
default = "25.11";
|
||||
default = "26.05";
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue