commit 4f8af06d89c3abc9def0690bc74aa571c77a759b
parent 81264e232e883e9e7b3747c7f3207527a1699e21
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 5 Feb 2019 11:40:49 +0100
desktop: add a desktop nr file…
… and move desktop-app there
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix
@@ -70,6 +70,15 @@ in
xdg.configFile."xorg/parens.compose".source = ./assets/xorg/parens.compose;
xdg.configFile."xorg/modletters.compose".source = ./assets/xorg/modletters.compose;
xdg.configFile."user-dirs.dirs".source = ./assets/xorg/user-dirs.dirs;
+ xdg.configFile."nr/desktop" = {
+ text = builtins.toJSON [
+ {cmd = "surf";} {cmd = "dmenu";}
+ {cmd = "virt-manager"; pkg = "virtmanager";}
+ {cmd = "update-desktop-database"; pkg = "desktop-file-utils"; chan = "unstable";}
+ {cmd = "lgogdownloader"; chan = "unstable";}
+ ];
+ onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr desktop";
+ };
programs = {
firefox.enable = true;
};
diff --git a/modules/profiles/fish.nix b/modules/profiles/fish.nix
@@ -42,12 +42,9 @@ in
{cmd = "lsusb"; pkg = "usbutils";}
{cmd = "wakeonlan"; pkg = "python36Packages.wakeonlan";}
{cmd = "beet"; pkg = "beets";}
- {cmd = "virt-manager"; pkg = "virtmanager";}
{cmd = "nix-prefetch-git"; pkg = "nix-prefetch-scripts";}
{cmd = "nix-prefetch-hg"; pkg = "nix-prefetch-scripts";}
{cmd = "op"; pkg = "_1password"; chan = "unstable";}
- {cmd = "update-desktop-database"; pkg = "desktop-file-utils"; chan = "unstable";}
- {cmd = "lgogdownloader"; chan = "unstable";}
];
onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr default";
};