Working on reshuffling
This commit is contained in:
+31
-22
@@ -1205,35 +1205,44 @@ This file sets up wayland
|
|||||||
** =generated/modules/apps/thunar.nix=
|
** =generated/modules/apps/thunar.nix=
|
||||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/apps/thunar.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/modules/apps/thunar.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
username = "henrov"; # vervang door je echte gebruikersnaam
|
username = "henrov"; # vervang door je echte gebruikersnaam
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${username} = {
|
flake.nixosModules.thunar = { config, pkgs, lib, ... }:
|
||||||
|
|
||||||
# Thunar and plugins
|
{
|
||||||
home.packages = with pkgs; [
|
options.mySystem.apps.thunar.enable =
|
||||||
thunar
|
lib.mkEnableOption "Enable Thunar file manager";
|
||||||
thunar-volman
|
|
||||||
thunar-archive-plugin
|
|
||||||
thunar-media-tags-plugin
|
|
||||||
tumbler
|
|
||||||
ffmpegthumbnailer
|
|
||||||
gvfs
|
|
||||||
xdg-utils
|
|
||||||
];
|
|
||||||
|
|
||||||
# Default file manager
|
config = lib.mkIf (config.mySystem.apps.thunar.enable or false) {
|
||||||
xdg.mimeApps = {
|
|
||||||
defaultApplications = {
|
# --- Home Manager gebruiker ---
|
||||||
"inode/directory" = "Thunar.desktop";
|
home-manager.users.${username} = {
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
home.username = username;
|
||||||
|
home.homeDirectory = "/home/${username}";
|
||||||
|
|
||||||
|
# --- Thunar en plugins ---
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
thunar
|
||||||
|
thunar-volman
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-media-tags-plugin
|
||||||
|
tumbler
|
||||||
|
ffmpegthumbnailer
|
||||||
|
gvfs
|
||||||
|
xdg-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
# --- Default file manager ---
|
||||||
|
xdg.mimeApps = {
|
||||||
|
defaultApplications = {
|
||||||
|
"inode/directory" = "Thunar.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,32 +1,41 @@
|
|||||||
{
|
{ lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
username = "henrov"; # vervang door je echte gebruikersnaam
|
username = "henrov"; # vervang door je echte gebruikersnaam
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${username} = {
|
flake.nixosModules.thunar = { config, pkgs, lib, ... }:
|
||||||
|
|
||||||
# Thunar and plugins
|
{
|
||||||
home.packages = with pkgs; [
|
options.mySystem.apps.thunar.enable =
|
||||||
thunar
|
lib.mkEnableOption "Enable Thunar file manager";
|
||||||
thunar-volman
|
|
||||||
thunar-archive-plugin
|
|
||||||
thunar-media-tags-plugin
|
|
||||||
tumbler
|
|
||||||
ffmpegthumbnailer
|
|
||||||
gvfs
|
|
||||||
xdg-utils
|
|
||||||
];
|
|
||||||
|
|
||||||
# Default file manager
|
config = lib.mkIf (config.mySystem.apps.thunar.enable or false) {
|
||||||
xdg.mimeApps = {
|
|
||||||
defaultApplications = {
|
# --- Home Manager gebruiker ---
|
||||||
"inode/directory" = "Thunar.desktop";
|
home-manager.users.${username} = {
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
home.username = username;
|
||||||
|
home.homeDirectory = "/home/${username}";
|
||||||
|
|
||||||
|
# --- Thunar en plugins ---
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
thunar
|
||||||
|
thunar-volman
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-media-tags-plugin
|
||||||
|
tumbler
|
||||||
|
ffmpegthumbnailer
|
||||||
|
gvfs
|
||||||
|
xdg-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
# --- Default file manager ---
|
||||||
|
xdg.mimeApps = {
|
||||||
|
defaultApplications = {
|
||||||
|
"inode/directory" = "Thunar.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user