mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-11 21:30:06 +00:00
Compare commits
No commits in common. "6690edd3a47a13b0851fb3b30c5518957007616b" and "f6058e8547c76bac975b3b4c4be6740cd60c27bc" have entirely different histories.
6690edd3a4
...
f6058e8547
11 changed files with 32 additions and 46 deletions
|
@ -15,6 +15,5 @@ in
|
|||
@import "onebar/onebar.css";
|
||||
'';
|
||||
|
||||
home.file.".mozilla/firefox/default/chrome/onebar/onebar.css".source =
|
||||
mkIf config.programs.firefox.enable ./onebar.css;
|
||||
home.file.".mozilla/firefox/default/chrome/onebar/onebar.css".source = ./onebar.css;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
/* frappe */
|
||||
@import url("https://youtubemusic.catppuccin.com/src/frappe.css");
|
||||
|
||||
html:not(.style-scope) {
|
||||
--ctp-accent: var(--ctp-blue) !important;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
/* latte */
|
||||
@import url("https://youtubemusic.catppuccin.com/src/latte.css");
|
||||
|
||||
html:not(.style-scope) {
|
||||
--ctp-accent: var(--ctp-blue) !important;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
/* macchiato */
|
||||
@import url("https://youtubemusic.catppuccin.com/src/macchiato.css");
|
||||
|
||||
html:not(.style-scope) {
|
||||
--ctp-accent: var(--ctp-blue) !important;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
/* mocha */
|
||||
@import url("https://youtubemusic.catppuccin.com/src/mocha.css");
|
||||
|
||||
html:not(.style-scope) {
|
||||
--ctp-accent: var(--ctp-blue) !important;
|
||||
}
|
6
homes/x86_64-linux/jo/apps/youtube-music/default.nix
Normal file
6
homes/x86_64-linux/jo/apps/youtube-music/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
imports = [
|
||||
./apps/discord
|
||||
./apps/firefox
|
||||
./apps/youtube-music
|
||||
];
|
||||
|
||||
puzzlevision = {
|
||||
|
@ -33,10 +34,6 @@
|
|||
path = "${config.home.homeDirectory}/.wakatime.cfg";
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
## GENERAL
|
||||
ghostty
|
||||
|
@ -56,7 +53,6 @@
|
|||
## RUNTIMES and CLIs for development
|
||||
bun
|
||||
git
|
||||
git-credential-oauth
|
||||
attic-client
|
||||
];
|
||||
|
||||
|
|
|
@ -5,8 +5,5 @@
|
|||
|
||||
# Automagically imports systems from "/systems/arch-classname/system-name".
|
||||
./systems.nix
|
||||
|
||||
# Automagically import custom packages defined in "/pkgs/pkg-name/default.nix"
|
||||
./packages.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -26,18 +26,6 @@ let
|
|||
else
|
||||
[ ];
|
||||
|
||||
filesystemEntityToPackage =
|
||||
directory: pkgs: pkgArgs: name: type:
|
||||
if type == "directory" then
|
||||
dirToPkgAttrSet "${directory}/${name}" pkgs pkgArgs
|
||||
else if name == "default.nix" then
|
||||
{
|
||||
${builtins.unsafeDiscardStringContext (builtins.baseNameOf directory)} =
|
||||
pkgs.callPackage "${directory}/${name}" pkgArgs;
|
||||
}
|
||||
else
|
||||
{ };
|
||||
|
||||
dirToModuleList =
|
||||
directory:
|
||||
let
|
||||
|
@ -62,25 +50,12 @@ let
|
|||
acc // (filesystemEntityToAttrSet directory importArgs name (builtins.getAttr name readDir))
|
||||
) { } (builtins.attrNames readDir);
|
||||
|
||||
dirToPkgAttrSet =
|
||||
directory: pkgs: pkgArgs:
|
||||
let
|
||||
# Read provided directory only once at the very start and save the result.
|
||||
readDir = readDirectory directory;
|
||||
in
|
||||
builtins.foldl' (
|
||||
acc: name:
|
||||
acc // (filesystemEntityToPackage directory pkgs pkgArgs name (builtins.getAttr name readDir))
|
||||
) { } (builtins.attrNames readDir);
|
||||
|
||||
puzzlelib = dirToAttrSet ../../lib { inherit lib self; } // {
|
||||
inherit
|
||||
dirToAttrSet
|
||||
dirToPkgAttrSet
|
||||
dirToModuleList
|
||||
filesystemEntityToList
|
||||
filesystemEntityToAttrSet
|
||||
filesystemEntityToPackage
|
||||
;
|
||||
};
|
||||
in
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
self,
|
||||
...
|
||||
}:
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
packages = self.lib.dirToPkgAttrSet ../../pkgs pkgs { };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue