stylix: use awwpotato's base16.nix fork (#1164)
Link: https://github.com/danth/stylix/pull/1164 Closes https://github.com/danth/stylix/issues/1161 Closes https://github.com/danth/stylix/discussions/1163 Required for https://github.com/danth/stylix/pull/1158
This commit is contained in:
parent
a97dca14af
commit
a49bff748c
3 changed files with 11 additions and 12 deletions
10
flake.lock
generated
10
flake.lock
generated
|
|
@ -5,15 +5,15 @@
|
|||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732200724,
|
||||
"narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=",
|
||||
"owner": "SenchoPens",
|
||||
"lastModified": 1745452037,
|
||||
"narHash": "sha256-EAYWV+kXbwsH+8G/8UtmcunDeKwLwSOyfcmzZUkWE/c=",
|
||||
"owner": "awwpotato",
|
||||
"repo": "base16.nix",
|
||||
"rev": "153d52373b0fb2d343592871009a286ec8837aec",
|
||||
"rev": "985d704b4ff9f75627f279ef091b2899f8456690",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"owner": "awwpotato",
|
||||
"repo": "base16.nix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
url = "github:tinted-theming/base16-vim/577fe8125d74ff456cf942c733a85d769afe58b7";
|
||||
};
|
||||
|
||||
base16.url = "github:SenchoPens/base16.nix";
|
||||
base16.url = "github:awwpotato/base16.nix";
|
||||
flake-compat.url = "github:edolstra/flake-compat";
|
||||
|
||||
flake-utils = {
|
||||
|
|
|
|||
|
|
@ -1,16 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
theme = config.lib.stylix.colors {
|
||||
templateRepo = config.stylix.inputs.tinted-foot;
|
||||
};
|
||||
in
|
||||
{
|
||||
options.stylix.targets.foot.enable =
|
||||
config.lib.stylix.mkEnableTarget "Foot" true;
|
||||
|
||||
config.programs.foot.settings = lib.mkIf config.stylix.targets.foot.enable {
|
||||
main = {
|
||||
include = theme;
|
||||
include = toString (
|
||||
config.lib.stylix.colors {
|
||||
templateRepo = config.stylix.inputs.tinted-foot;
|
||||
}
|
||||
);
|
||||
font =
|
||||
with config.stylix.fonts;
|
||||
"${monospace.name}:size=${toString sizes.terminal}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue