use thunar
This commit is contained in:
parent
53f77c222e
commit
2b7f0e6108
4 changed files with 31 additions and 7 deletions
|
@ -51,6 +51,11 @@
|
||||||
nwg-look
|
nwg-look
|
||||||
element-desktop-wayland
|
element-desktop-wayland
|
||||||
kdePackages.gwenview
|
kdePackages.gwenview
|
||||||
|
kdePackages.okular
|
||||||
|
kdePackages.qtwayland
|
||||||
|
mpv
|
||||||
|
yt-dlp
|
||||||
|
anki-bin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -76,7 +81,6 @@
|
||||||
alsa-utils
|
alsa-utils
|
||||||
nixd
|
nixd
|
||||||
veracrypt
|
veracrypt
|
||||||
kdePackages.dolphin
|
|
||||||
bluetuith
|
bluetuith
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
|
@ -164,4 +168,24 @@
|
||||||
lidSwitch = "hibernate";
|
lidSwitch = "hibernate";
|
||||||
suspendKey = "hibernate";
|
suspendKey = "hibernate";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"application/pdf" = "okular.desktop";
|
||||||
|
"image/*" = "gwenview.desktop";
|
||||||
|
"*/html" = "librewolf.desktop";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.thunar = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-volman
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# preference changes don't work in thunar without this
|
||||||
|
programs.xfconf.enable = true;
|
||||||
|
# mount, trash and stuff in thunar
|
||||||
|
services.gvfs.enable = true;
|
||||||
|
# thumbnails in thunar
|
||||||
|
services.tumbler.enable =true;
|
||||||
}
|
}
|
||||||
|
|
7
nix/flake.lock
generated
7
nix/flake.lock
generated
|
@ -4,16 +4,15 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732014248,
|
"lastModified": 1732014248,
|
||||||
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
|
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
|
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"type": "indirect"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
description = "A very basic flake";
|
description = "cy's flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
|
|
1
nixpkgs/config.nix
Normal file
1
nixpkgs/config.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ allowUnfree = true; }
|
Loading…
Add table
Reference in a new issue