add base16-nix

This commit is contained in:
lucy 2026-10-15 11:17:59 +02:00
commit 3cb6181663
5 changed files with 74 additions and 119 deletions

View file

@ -86,6 +86,9 @@
nmgui nmgui
kdePackages.qtdeclarative kdePackages.qtdeclarative
ghostty ghostty
rnote
gsettings-desktop-schemas
glib
]; ];
}; };
environment.sessionVariables = { environment.sessionVariables = {

155
flake.lock generated
View file

@ -20,43 +20,37 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts": { "base16": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "fromYaml": "fromYaml"
}, },
"locked": { "locked": {
"lastModified": 1782949081, "lastModified": 1755819240,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=", "narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
"owner": "hercules-ci", "owner": "SenchoPens",
"repo": "flake-parts", "repo": "base16.nix",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e", "rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hercules-ci", "owner": "SenchoPens",
"repo": "flake-parts", "repo": "base16.nix",
"type": "github" "type": "github"
} }
}, },
"flake-utils": { "fromYaml": {
"inputs": { "flake": false,
"systems": [
"mangowm",
"scenefx",
"systems"
]
},
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731966426,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
"owner": "numtide", "owner": "SenchoPens",
"repo": "flake-utils", "repo": "fromYaml",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "rev": "106af9e2f715e2d828df706c386a685698f3223b",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "numtide", "owner": "SenchoPens",
"repo": "flake-utils", "repo": "fromYaml",
"type": "github" "type": "github"
} }
}, },
@ -82,28 +76,6 @@
"type": "github" "type": "github"
} }
}, },
"mangowm": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"scenefx": "scenefx"
},
"locked": {
"lastModified": 1791764863,
"narHash": "sha256-0l5W82KBEukdzkTsDgXquRPNAZ1f8d2qT9169jRnOOY=",
"owner": "mangowm",
"repo": "mango",
"rev": "468680e24b6cb872ebaadf9aa9948f538c1f0ab1",
"type": "github"
},
"original": {
"owner": "mangowm",
"repo": "mango",
"type": "github"
}
},
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -215,21 +187,6 @@
"url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst" "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst"
} }
}, },
"nixpkgs-lib": {
"locked": {
"lastModified": 1782614948,
"narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-packages": { "nixpkgs-packages": {
"locked": { "locked": {
"lastModified": 1791130267, "lastModified": 1791130267,
@ -246,49 +203,13 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"mangowm": "mangowm", "base16": "base16",
"nix-easyroam": "nix-easyroam", "nix-easyroam": "nix-easyroam",
"nix-maid": "nix-maid", "nix-maid": "nix-maid",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
} "tt-discord": "tt-discord",
}, "tt-schemes": "tt-schemes"
"scenefx": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"mangowm",
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1782624992,
"narHash": "sha256-vUjLG6eubEhJJVa9LPygIcVmNoHwYbSUTJcWEcbxnU4=",
"owner": "wlrfx",
"repo": "scenefx",
"rev": "37ccd723bef49e6891156ffafce8f549f01446cc",
"type": "github"
},
"original": {
"owner": "wlrfx",
"repo": "scenefx",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
} }
}, },
"treefmt-nix": { "treefmt-nix": {
@ -311,6 +232,38 @@
"repo": "treefmt-nix", "repo": "treefmt-nix",
"type": "github" "type": "github"
} }
},
"tt-discord": {
"flake": false,
"locked": {
"lastModified": 1791492260,
"narHash": "sha256-JWwTrlUCNdyWFlwC7szEwN3YH9UjUXTMQ2FWG+OlchA=",
"ref": "refs/heads/main",
"rev": "7c0d3fdc88e1130a2df4ab3e8484841af523b835",
"revCount": 11,
"type": "git",
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
},
"original": {
"type": "git",
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
}
},
"tt-schemes": {
"flake": false,
"locked": {
"lastModified": 1791580487,
"narHash": "sha256-ONFLryA9ab+m00ROqtG2u7z1P0OvGvL4z6ZXdDcWhCk=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "3ac91137e879502c442ab89ba0f1a98077d0da9d",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "schemes",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -3,9 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-maid.url = "git+https://codeberg.org/viperML/nix-maid"; nix-maid.url = "git+https://codeberg.org/viperML/nix-maid";
nix-easyroam = { nix-easyroam = {
url = "github:0x5a4/nix-easyroam"; url = "github:0x5a4/nix-easyroam";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -19,33 +17,41 @@
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
mangowm = { base16.url = "github:SenchoPens/base16.nix";
url = "github:mangowm/mango"; tt-schemes = {
inputs.nixpkgs.follows = "nixpkgs"; url = "github:tinted-theming/schemes";
flake = false;
};
tt-discord = {
url = "git+https://git.lucy.rip/lucy/tinted-discord.git";
flake = false;
}; };
}; };
outputs = outputs =
inputs@{ {
self, self,
nixpkgs, nixpkgs,
nixcord, nixcord,
nix-maid, nix-maid,
mangowm, base16,
agenix, agenix,
nix-easyroam, nix-easyroam,
}: tt-schemes,
tt-discord,
}@inputs:
let let
mods = [ mods = [
nix-maid.nixosModules.default nix-maid.nixosModules.default
nixcord.nixosModules.nixcord nixcord.nixosModules.nixcord
mangowm.nixosModules.mango
agenix.nixosModules.default agenix.nixosModules.default
nix-easyroam.nixosModules.nix-easyroam nix-easyroam.nixosModules.nix-easyroam
base16.nixosModule
./configuration.nix ./configuration.nix
./maid.nix ./maid.nix
./modules/default.nix ./modules/default.nix
./secrets/age.nix ./secrets/age.nix
./theme.nix
]; ];
in in
{ {

View file

@ -1,22 +1,14 @@
{ { config, inputs, ... }: {
programs.nixcord = { programs.nixcord = {
enable = true; enable = true;
user = "lucy"; user = "lucy";
discord.enable = false; discord.enable = false;
vesktop.enable = true; vesktop.enable = true;
vesktop.useSystemVencord = true; config.useQuickCss = true;
userPlugins = { quickCss = "${builtins.readFile (config.scheme inputs.tt-discord)} ";
betterMarkdown = "github:farrrr/vencord-better-markdown/a741b0968cd6c9d3bece0d83745e48731248dc30";
};
extraConfig = {
plugins = {
BetterMarkdown.enable = true;
};
};
config.plugins = { config.plugins = {
messageLogger.enable = true; messageLogger.enable = true;
messageClickActions.enable = true; messageClickActions.enable = true;
}; };
config.enabledThemes = [ "tinted.css" ];
}; };
} }

1
theme.nix Normal file
View file

@ -0,0 +1 @@
{ config, lib, inputs, ...}: {}