Change in folders organisation
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.gnome.apps;
|
||||
in
|
||||
{
|
||||
options.os.gnome.apps = {
|
||||
enable = mkEnableOption "System gnome apps service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
environment = {
|
||||
systemPackages =
|
||||
with pkgs;
|
||||
[
|
||||
# Gnome media apps
|
||||
papers
|
||||
celluloid
|
||||
]
|
||||
++ [
|
||||
# Gnome files explorer
|
||||
nautilus
|
||||
];
|
||||
};
|
||||
|
||||
services.gvfs.enable = true; # SMB, FTP, ... access
|
||||
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.gnome.shell;
|
||||
in
|
||||
{
|
||||
options.os.gnome.shell = {
|
||||
enable = mkEnableOption "System gnome shell service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.desktopManager.gnome.enable = true;
|
||||
|
||||
services.gnome.games.enable = false;
|
||||
services.gnome.core-apps.enable = false;
|
||||
services.gnome.core-developer-tools.enable = false;
|
||||
|
||||
environment = {
|
||||
|
||||
gnome.excludePackages = with pkgs; [
|
||||
gnome-tour
|
||||
gnome-user-docs
|
||||
];
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
|
||||
# Gnome terminal
|
||||
ghostty
|
||||
|
||||
# Gnome icons
|
||||
papirus-icon-theme
|
||||
|
||||
# Gnome Extensions
|
||||
gnomeExtensions.vitals
|
||||
gnomeExtensions.paperwm
|
||||
gnomeExtensions.app-hider
|
||||
gnomeExtensions.dash-to-panel
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user