Update on file and add pantheon
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
@@ -15,14 +14,6 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
environment.systemPackages = with pkgs.cudaPackages; [
|
||||
cudatoolkit
|
||||
cudnn
|
||||
libcublas
|
||||
libcufile
|
||||
libcusparse
|
||||
nccl
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,12 +33,9 @@ in
|
||||
systemPackages =
|
||||
with pkgs;
|
||||
[
|
||||
nautilus
|
||||
loupe
|
||||
papers
|
||||
simple-scan
|
||||
]
|
||||
++ (lib.optional config.os.flatpak.enable gnome-software);
|
||||
nautilus
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.shells.pantheon;
|
||||
in
|
||||
{
|
||||
options.os.shells.pantheon = {
|
||||
enable = mkEnableOption "System gnome shell service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.desktopManager.pantheon.enable = true;
|
||||
|
||||
environment = {
|
||||
pantheon.excludePackages = with pkgs; [
|
||||
elementary-calendar
|
||||
elementary-camera
|
||||
elementary-mail
|
||||
elementary-maps
|
||||
elementary-photos
|
||||
epiphany
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user