diff --git a/configuration.nix b/configuration.nix index 0fba42c..f1b2804 100644 --- a/configuration.nix +++ b/configuration.nix @@ -202,13 +202,6 @@ in zathura ]); - environment.etc."xdg/mimeapps.list" = { - text = '' - [Default Applications] - application/pdf=zathura.desktop - ''; - }; - programs.steam.enable = true; nixpkgs.config.allowUnfree = true; @@ -374,5 +367,14 @@ in }; }; }; + + xdg.mime = { + enable = true; + defaultApplications = { + "application/pdf" = "org.pwmt.zathura.desktop"; + }; + }; + + programs.ssh.startAgent = true; } diff --git a/home.nix b/home.nix index fb7a233..308f418 100644 --- a/home.nix +++ b/home.nix @@ -421,4 +421,5 @@ # "-m randr" # ]; }; + }