Compare commits
2 commits
90d41328c1
...
e157bc90cd
Author | SHA1 | Date | |
---|---|---|---|
e157bc90cd | |||
c7312e0ad8 |
14 changed files with 62 additions and 57 deletions
50
flake.lock
generated
50
flake.lock
generated
|
@ -23,6 +23,24 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"calibre-plugins": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1742395204,
|
||||
"narHash": "sha256-RhI3wa1OCIjpkgwI8FEt1n3DlDP6w9W4jA+E3h6KdZU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "a131835a6016b8538d4e66e79eeb6393f436ee8c",
|
||||
"revCount": 6,
|
||||
"type": "git",
|
||||
"url": "https://git.ccnlc.eu/nydragon/calibre-plugins.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.ccnlc.eu/nydragon/calibre-plugins.git"
|
||||
}
|
||||
},
|
||||
"darwin": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -265,11 +283,26 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1742069588,
|
||||
"narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
|
||||
"lastModified": 1742335908,
|
||||
"narHash": "sha256-unmSiGsXmUAZ4fAcSgf1iwssLmt/FLrczhLAsosyLh8=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
|
||||
"rev": "fb9a9ddebc6c9685d2b6b98b35f134573e1872c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1742288794,
|
||||
"narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -279,7 +312,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1741462378,
|
||||
"narHash": "sha256-ZF3YOjq+vTcH51S+qWa1oGA9FgmdJ67nTNPG2OIlXDc=",
|
||||
|
@ -295,7 +328,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1741851582,
|
||||
"narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=",
|
||||
|
@ -355,7 +388,7 @@
|
|||
},
|
||||
"quasigod": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"snowfall-lib": "snowfall-lib"
|
||||
},
|
||||
"locked": {
|
||||
|
@ -374,7 +407,7 @@
|
|||
},
|
||||
"quickshell": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_4"
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1738200090,
|
||||
|
@ -393,13 +426,14 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"calibre-plugins": "calibre-plugins",
|
||||
"disko": "disko",
|
||||
"flake-parts": "flake-parts",
|
||||
"hjem": "hjem",
|
||||
"hjem-rum": "hjem-rum",
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nur": "nur",
|
||||
"nysh": "nysh",
|
||||
"wallpapers": "wallpapers"
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
};
|
||||
|
||||
wallpapers.url = "git+https://git.ccnlc.eu/nydragon/wallpapers.git";
|
||||
|
||||
calibre-plugins.url = "git+https://git.ccnlc.eu/nydragon/calibre-plugins.git";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This file contains default settings used across different systems
|
||||
{
|
||||
imports = [
|
||||
./themes/catppuccin.nix
|
||||
./themes/vanilla.nix
|
||||
./graphical
|
||||
./terminal
|
||||
./desktop
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
self,
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -25,9 +24,5 @@ in
|
|||
(mkURLEntry "KitchenOwl" "https://kitchenowl.ccnlc.eu" "${self}/assets/favicon-kitchenowl.png")
|
||||
(mkURLEntry "Discord" "https://discord.com/app" "${self}/assets/favicon-discord.png")
|
||||
];
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = osConfig.xdg.mime.defaultApplications;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Adwaita";
|
||||
name = "Adwaita-dark";
|
||||
package = pkgs.gnome-themes-extra;
|
||||
};
|
||||
iconTheme = rec {
|
||||
|
|
|
@ -39,7 +39,6 @@ in
|
|||
|
||||
xdg = {
|
||||
portal.enable = true;
|
||||
mime.enable = true;
|
||||
};
|
||||
|
||||
modules = {
|
||||
|
|
|
@ -67,7 +67,6 @@ in
|
|||
|
||||
xdg = {
|
||||
portal.enable = true;
|
||||
mime.enable = true;
|
||||
};
|
||||
|
||||
specialisation = {
|
||||
|
|
|
@ -63,6 +63,11 @@
|
|||
comment = "backup location for games";
|
||||
mode = "write";
|
||||
}
|
||||
{
|
||||
name = "brontes-backup";
|
||||
comment = "brontes's backup space";
|
||||
mode = "write";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
"octoprint"
|
||||
"assistant"
|
||||
"rss"
|
||||
"calibre"
|
||||
"prometheus"
|
||||
"grafana"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
./system/printing.nix
|
||||
./system/audio.nix
|
||||
./system/mime.nix
|
||||
./system/polkit.nix
|
||||
|
||||
./users/ny.nix
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
inputs',
|
||||
config,
|
||||
lib,
|
||||
|
@ -8,21 +7,6 @@
|
|||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
# Add env vars to calibre so they may get propagated to a plugin that needs them
|
||||
calibre = prev.calibre.overrideAttrs (old: {
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/calibre \
|
||||
--set QT_QPA_PLATFORM xcb \
|
||||
--set-default ACSM_LIBCRYPTO ${prev.openssl.out}/lib/libcrypto.so \
|
||||
--set-default ACSM_LIBSSL ${prev.openssl.out}/lib/libssl.so
|
||||
'';
|
||||
});
|
||||
|
||||
lollypop = prev.lollypop.override {
|
||||
#lastFMSupport = false;
|
||||
youtubeSupport = false;
|
||||
};
|
||||
|
||||
scripts = import ../../home/scripts {
|
||||
inherit lib config;
|
||||
pkgs = prev.pkgs;
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
xdg.mime = {
|
||||
defaultApplications =
|
||||
let
|
||||
fileManager = "org.gnome.Nautilus.desktop";
|
||||
browser = "firefox-esr.desktop";
|
||||
in
|
||||
{
|
||||
"inode/directory" = fileManager;
|
||||
"application/zip" = fileManager;
|
||||
"application/pdf" = browser;
|
||||
"x-www-browser" = browser;
|
||||
"text/html" = browser;
|
||||
"application/vnd.comicbook+zip" = "com.github.johnfactotum.Foliate.desktop";
|
||||
"application/epub+zip" = "com.github.johnfactotum.Foliate.desktop";
|
||||
"image/*" = "org.gnome.Loupe.desktop";
|
||||
"image/png" = "org.gnome.Loupe.desktop";
|
||||
"image/jpeg" = "org.gnome.Loupe.desktop";
|
||||
"x-scheme-handler/http" = browser;
|
||||
"x-scheme-handler/https" = browser;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -88,6 +88,8 @@ in
|
|||
"audio/mpeg" = cfg.audio.default;
|
||||
# Ebooks sadly don't have a singular major type.
|
||||
"application/epub+zip" = cfg.ebook.default;
|
||||
"application/pdf" = cfg.ebook.default;
|
||||
"application/vnd.comicbook+zip" = cfg.ebook.default;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (config.modules.meta) username;
|
||||
calibrePlugins = inputs'.calibre-plugins.packages;
|
||||
in
|
||||
{
|
||||
hjem = {
|
||||
|
@ -16,6 +17,11 @@ in
|
|||
./programs
|
||||
./misc
|
||||
];
|
||||
|
||||
files = {
|
||||
".config/calibre/plugins/ACSM Input.zip".source = calibrePlugins.acsm-calibre-plugin;
|
||||
".config/calibre/plugins/DeDRM.zip".source = calibrePlugins.dedrm-plugin;
|
||||
};
|
||||
};
|
||||
specialArgs = {
|
||||
libmy = lib.my;
|
||||
|
|
Loading…
Add table
Reference in a new issue