summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock22
-rw-r--r--flake.nix3
-rw-r--r--hermes/nixos/gui/xfce.nix12
-rw-r--r--hermes/nixos/programs/default.nix3
4 files changed, 38 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index 48422be..d677938 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,26 @@
{
"nodes": {
+ "dbmain-nix": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1771254407,
+ "narHash": "sha256-2Y02V3/0ioxJMcHzBE63L4ds1n/c6y7nhfYTc/KOg9g=",
+ "ref": "refs/tags/v11.0.2",
+ "rev": "7fda78c18e981d5c5f52da2eeb96c366ab815838",
+ "revCount": 3,
+ "type": "git",
+ "url": "https://codeberg.org/leoflo/dbmain-nix"
+ },
+ "original": {
+ "ref": "refs/tags/v11.0.2",
+ "type": "git",
+ "url": "https://codeberg.org/leoflo/dbmain-nix"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -55,6 +76,7 @@
},
"root": {
"inputs": {
+ "dbmain-nix": "dbmain-nix",
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
diff --git a/flake.nix b/flake.nix
index 0f83f31..789cbfa 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,9 @@
xfce4-hiddenapps-plugin.url = "git+https://codeberg.org/leoflo/xfce4-hiddenapps-plugin?ref=refs/tags/v0.0.1";
xfce4-hiddenapps-plugin.inputs.nixpkgs.follows = "nixpkgs";
+
+ dbmain-nix.url = "git+https://codeberg.org/leoflo/dbmain-nix?ref=refs/tags/v11.0.2";
+ dbmain-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {nixpkgs, home-manager, ...} @ inputs:
diff --git a/hermes/nixos/gui/xfce.nix b/hermes/nixos/gui/xfce.nix
index 628866a..e037e68 100644
--- a/hermes/nixos/gui/xfce.nix
+++ b/hermes/nixos/gui/xfce.nix
@@ -1,4 +1,12 @@
-{inputs, lib, config, pkgs, ...}: {
+{inputs, lib, config, pkgs, ...}:
+let
+ thunar-archive-plugin-with-xarchiver = pkgs.thunar-archive-plugin.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ cp ${pkgs.xarchiver}/libexec/thunar-archive-plugin/xarchiver.tap \
+ $out/libexec/thunar-archive-plugin/
+ '';
+ });
+in {
options.xfce.enable = lib.mkEnableOption "xfce de";
config = lib.mkIf config.xfce.enable {
@@ -13,7 +21,7 @@
enable = true;
plugins = with pkgs; [
- thunar-archive-plugin
+ thunar-archive-plugin-with-xarchiver
thunar-media-tags-plugin
thunar-vcs-plugin
thunar-volman
diff --git a/hermes/nixos/programs/default.nix b/hermes/nixos/programs/default.nix
index a86ecdc..28ca86e 100644
--- a/hermes/nixos/programs/default.nix
+++ b/hermes/nixos/programs/default.nix
@@ -24,6 +24,9 @@
# Home manager
inputs.home-manager.packages.${pkgs.stdenv.hostPlatform.system}.home-manager
+
+ # DBmain
+ inputs.dbmain-nix.packages.${pkgs.stdenv.hostPlatform.system}.default
];
# Dynamic linking