diff --git a/flake.nix b/flake.nix index b03528e6..4858615c 100644 --- a/flake.nix +++ b/flake.nix @@ -133,7 +133,7 @@ sealight = [ base server wireguard-server metrics ]; # rss-bridge gitea sealight-website matrix backup mossnet = [ base server taskd shaarli wallabag dns monitoring nfs rss-bridge gonic headphones radicale seafile syncthing dhyan ]; # hpi sync.music cube = [ base site server ]; - graphical = [ base bluetooth music sync.kitaab sync.website sync.cal wifi desktop ]; + graphical = [ base bluetooth music sync.kitaab sync.website sync.cal wifi desktop mimetypes ]; curve = [ graphical secrets syncthing ]; work = [ base ]; }; @@ -155,6 +155,7 @@ users = { nixos = { suites, ... }: { imports = suites.hmBase; }; anish = { suites, ... }: { imports = suites.gui; }; + anishlakhwara = { suites, ... }: { imports = suites.work; }; }; # digga.lib.importers.rakeLeaves ./users/hm; }; diff --git a/hosts/curve/default.nix b/hosts/curve/default.nix index e36ab7e4..5eeec46b 100644 --- a/hosts/curve/default.nix +++ b/hosts/curve/default.nix @@ -48,7 +48,7 @@ programs.adb.enable = true; #virtualisation.docker.enable = true; boot.blacklistedKernelModules = [ "qcserial" ]; - users.users.anish.extraGroups = [ "adbusers" "wheel" "plugdev" ]; + users.users.anish.extraGroups = [ "adbusers" "wheel" "plugdev" "libvertd" ]; virtualisation.libvirtd.enable = true; hardware.keyboard.zsa.enable = true; services.udev.extraRules = '' diff --git a/profiles/mimetypes/default.nix b/profiles/mimetypes/default.nix new file mode 100644 index 00000000..e5216a14 --- /dev/null +++ b/profiles/mimetypes/default.nix @@ -0,0 +1,11 @@ +{ pkgs, lib, ... }: + +{ + xdg.mime.defaultApplications = { + "application/pdf" = "firefox.desktop"; + "image/png" = [ + "sxiv.desktop" + "feh.desktop" + ]; + }; +}