[modules/base-system,host/helix-texta] Enable minimal gnome
This commit is contained in:
parent
d6290dbe21
commit
95f24f4cee
|
@ -19,6 +19,8 @@
|
|||
|
||||
system.fsPackages = [pkgs.sshfs];
|
||||
|
||||
settings.minimalGnome.enable = true;
|
||||
|
||||
# Pipewire for my wayland
|
||||
sound.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
@ -122,15 +124,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
programs.steam.enable = true;
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
steam = pkgs.steam.override {extraPkgs = pkgs: [pkgs.openssl];};
|
||||
};
|
||||
|
||||
programs.sway.enable = true;
|
||||
services.dbus.packages = [pkgs.dconf];
|
||||
services.udev.packages = with pkgs; [yubikey-personalization chrysalis];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
cfg = config.settings;
|
||||
mkDefault = lib.mkDefault;
|
||||
in {
|
||||
imports = [
|
||||
./photoprism.nix
|
||||
./7-days-to-die.nix
|
||||
|
@ -20,11 +23,8 @@
|
|||
];
|
||||
|
||||
options.settings = with lib; {
|
||||
nvidiaUsed = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Whether or not an NVIDIA graphics card is used";
|
||||
};
|
||||
nvidiaUsed = mkEnableOption "NVIDIA graphic card usage";
|
||||
minimalGnome.enable = mkEnableOption "basic gnome stuff";
|
||||
};
|
||||
|
||||
config = {
|
||||
|
@ -114,10 +114,19 @@
|
|||
automatic = true;
|
||||
dates = lib.mkDefault "weekly";
|
||||
};
|
||||
|
||||
# Enable store optimiser
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = ["04:00"];
|
||||
};
|
||||
|
||||
# GNOME
|
||||
# Don't forget to import DISPLAY into dbus variables
|
||||
programs.dconf.enable = mkDefault cfg.minimalGnome.enable;
|
||||
programs.seahorse.enable = mkDefault cfg.minimalGnome.enable;
|
||||
services.gnome.at-spi2-core.enable = mkDefault cfg.minimalGnome.enable;
|
||||
services.gnome.gnome-keyring.enable = mkDefault cfg.minimalGnome.enable;
|
||||
services.dbus.packages = lib.optional cfg.minimalGnome.enable [pkgs.gcr];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue