add service for locate on nixdesk
locate is basically a linux equivelent of search everything by voidtools
This commit is contained in:
parent
a789a7ec7c
commit
1ca38b72a0
2 changed files with 9 additions and 1 deletions
|
@ -84,6 +84,7 @@
|
||||||
/services/waydroid.nix
|
/services/waydroid.nix
|
||||||
/services/virt-manager.nix
|
/services/virt-manager.nix
|
||||||
/services/sunshine.nix
|
/services/sunshine.nix
|
||||||
|
/services/locate.nix
|
||||||
# network.wifi
|
# network.wifi
|
||||||
|
|
||||||
/themes/dark.nix
|
/themes/dark.nix
|
||||||
|
@ -94,7 +95,7 @@
|
||||||
/programs/RE
|
/programs/RE
|
||||||
]);
|
]);
|
||||||
|
|
||||||
networking.hostName = "nixdesk";
|
services.locate.prunePaths = lib.mkOptionDefault ["/home/xun/backup"];
|
||||||
|
|
||||||
# for running waydroid as root, needed for cage-xtmapper
|
# for running waydroid as root, needed for cage-xtmapper
|
||||||
services.dbus.packages = [
|
services.dbus.packages = [
|
||||||
|
@ -131,5 +132,6 @@
|
||||||
|
|
||||||
networking.interfaces.eno1.wakeOnLan.enable = true;
|
networking.interfaces.eno1.wakeOnLan.enable = true;
|
||||||
|
|
||||||
|
networking.hostName = "nixdesk";
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
6
sys/profiles/services/locate.nix
Normal file
6
sys/profiles/services/locate.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
services.locate = {
|
||||||
|
enable = true;
|
||||||
|
pruneNames = lib.mkOptionDefault [".jj"];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue