summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/apps.nix3
-rw-r--r--modules/desktop.nix12
-rw-r--r--modules/systemd.nix9
3 files changed, 24 insertions, 0 deletions
diff --git a/modules/apps.nix b/modules/apps.nix
index 664feed..9bda2d2 100644
--- a/modules/apps.nix
+++ b/modules/apps.nix
@@ -21,6 +21,8 @@
wl-clipboard
jdk
noto-fonts
+ kdePackages.kio-fuse
+ kdePackages.kio-extras
dejavu_fonts
font-awesome
@@ -31,6 +33,7 @@
# Utility
gimp
+ inkscape
keepassxc
protonvpn-gui
(python312.withPackages (pypkgs: [
diff --git a/modules/desktop.nix b/modules/desktop.nix
index b0028de..4bffa18 100644
--- a/modules/desktop.nix
+++ b/modules/desktop.nix
@@ -23,4 +23,16 @@
options = [ "rw" "noatime" "uid=1000" ];
};
+ fileSystems."/mnt/kopia" = {
+ device = "none";
+ fsType = "fuse";
+ options = [ "noauto" "allow_other" "default_permissions" "fsname=kopia" "uid=1000" ];
+ };
+
+ # services.udev.enable = true; # usually on by default
+ # services.udev.extraRules = ''
+ # KERNEL=="kopia", ACTION=="add", ENV{ID_FS_TYPE}=="fuse.kopia", \
+ # ENV{ID_MOUNT_ID}="kopia-mount", ENV{ID_FS_LABEL}=="kopia", \
+ # SYMLINK+="kopia-mount"
+ # '';
}
diff --git a/modules/systemd.nix b/modules/systemd.nix
index 9c6f4a4..075e7a5 100644
--- a/modules/systemd.nix
+++ b/modules/systemd.nix
@@ -65,4 +65,13 @@
serviceConfig = { Type = "oneshot"; User = "kyren"; };
};
+ ###########################################################################
+
+ # systemd.mounts = [
+ # { what = "kopia"; type = "fuse.kopia"; where = "/mnt/kopia"; wantedBy = ["multi-user.target"]; options = "noauto,allow_other,default_permissions,fsname=kopia"; }
+ # ];
+ # #
+ # systemd.automounts = [
+ # { where = "/mnt/kopia"; wantedBy = ["multi-user.target"]; }
+ # ];
}