Fixed duplicated systemPackages

This commit is contained in:
Sebastian 2023-12-14 13:03:29 +01:00
parent ac23e2fafc
commit 7382cf21a8
2 changed files with 7 additions and 12 deletions

View File

@ -38,7 +38,7 @@
nixosModules.default = { config, pkgs, ... }: {
imports = [ ./module.nix ];
_module.args.piwatcherPkgs = self.packages;
_module.args.satnogsDemoDisplayPkgs = self.packages;
};
};
}

View File

@ -38,8 +38,13 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = [
environment.systemPackages = with pkgs; [
cfg.package
unclutter
xorg.xhost
xorg.xrandr
feh
];
users.users = mkIf (cfg.user == "satnogs-demo") {
@ -78,16 +83,6 @@ in
'';
};
environment.systemPackages = with pkgs; [
unclutter
xorg.xhost
xorg.xrandr
feh
chromium
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;