nixos/file-roller: move to programs
This commit is contained in:
parent
db69d2dfe7
commit
ff0e3aae35
|
@ -107,6 +107,7 @@
|
||||||
./programs/dmrconfig.nix
|
./programs/dmrconfig.nix
|
||||||
./programs/environment.nix
|
./programs/environment.nix
|
||||||
./programs/evince.nix
|
./programs/evince.nix
|
||||||
|
./programs/file-roller.nix
|
||||||
./programs/firejail.nix
|
./programs/firejail.nix
|
||||||
./programs/fish.nix
|
./programs/fish.nix
|
||||||
./programs/freetds.nix
|
./programs/freetds.nix
|
||||||
|
@ -282,7 +283,6 @@
|
||||||
./services/desktops/gnome3/at-spi2-core.nix
|
./services/desktops/gnome3/at-spi2-core.nix
|
||||||
./services/desktops/gnome3/chrome-gnome-shell.nix
|
./services/desktops/gnome3/chrome-gnome-shell.nix
|
||||||
./services/desktops/gnome3/evolution-data-server.nix
|
./services/desktops/gnome3/evolution-data-server.nix
|
||||||
./services/desktops/gnome3/file-roller.nix
|
|
||||||
./services/desktops/gnome3/glib-networking.nix
|
./services/desktops/gnome3/glib-networking.nix
|
||||||
./services/desktops/gnome3/gnome-disks.nix
|
./services/desktops/gnome3/gnome-disks.nix
|
||||||
./services/desktops/gnome3/gnome-documents.nix
|
./services/desktops/gnome3/gnome-documents.nix
|
||||||
|
|
|
@ -6,11 +6,18 @@ with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
# Added 2019-08-09
|
||||||
|
imports = [
|
||||||
|
(mkRenamedOptionModule
|
||||||
|
[ "services" "gnome3" "file-roller" "enable" ]
|
||||||
|
[ "programs" "file-roller" "enable" ])
|
||||||
|
];
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.gnome3.file-roller = {
|
programs.file-roller = {
|
||||||
|
|
||||||
enable = mkEnableOption "File Roller, an archive manager for GNOME";
|
enable = mkEnableOption "File Roller, an archive manager for GNOME";
|
||||||
|
|
||||||
|
@ -21,7 +28,7 @@ with lib;
|
||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.services.gnome3.file-roller.enable {
|
config = mkIf config.programs.file-roller.enable {
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.gnome3.file-roller ];
|
environment.systemPackages = [ pkgs.gnome3.file-roller ];
|
||||||
|
|
|
@ -124,7 +124,6 @@ in {
|
||||||
services.dleyna-server.enable = mkDefault true;
|
services.dleyna-server.enable = mkDefault true;
|
||||||
services.gnome3.at-spi2-core.enable = true;
|
services.gnome3.at-spi2-core.enable = true;
|
||||||
services.gnome3.evolution-data-server.enable = true;
|
services.gnome3.evolution-data-server.enable = true;
|
||||||
services.gnome3.file-roller.enable = mkDefault true;
|
|
||||||
services.gnome3.glib-networking.enable = true;
|
services.gnome3.glib-networking.enable = true;
|
||||||
services.gnome3.gnome-disks.enable = mkDefault true;
|
services.gnome3.gnome-disks.enable = mkDefault true;
|
||||||
services.gnome3.gnome-documents.enable = mkDefault true;
|
services.gnome3.gnome-documents.enable = mkDefault true;
|
||||||
|
@ -158,6 +157,7 @@ in {
|
||||||
|
|
||||||
# Enable default programs
|
# Enable default programs
|
||||||
programs.evince.enable = mkDefault true;
|
programs.evince.enable = mkDefault true;
|
||||||
|
programs.file-roller.enable = mkDefault true;
|
||||||
|
|
||||||
# If gnome3 is installed, build vim for gtk3 too.
|
# If gnome3 is installed, build vim for gtk3 too.
|
||||||
nixpkgs.config.vim.gui = "gtk3";
|
nixpkgs.config.vim.gui = "gtk3";
|
||||||
|
|
Loading…
Reference in a new issue