add new wallpapers, back to fish and syntax changes

This commit is contained in:
Jo 2025-02-22 17:46:38 +01:00
parent 5266d697de
commit 8e37d6e64f
14 changed files with 102 additions and 89 deletions

View file

@ -3,12 +3,11 @@
namespace,
config,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.archetypes.workstation;
in {
options.${namespace}.archetypes.workstation = { enable = mkEnableOption "Enable the workstation archetype for your current system"; };
options.${namespace}.archetypes.workstation = {enable = mkEnableOption "Enable the workstation archetype for your current system";};
config = mkIf cfg.enable {
environment.sessionVariables = {

View file

@ -4,8 +4,7 @@
config,
pkgs,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.common.shell;
in {
@ -14,8 +13,8 @@ in {
};
config = mkIf cfg.enable {
environment.shells = with pkgs; [ nushell fish ];
users.defaultUserShell = pkgs.nushell;
environment.shells = with pkgs; [fish];
users.defaultUserShell = pkgs.fish;
programs.fish.enable = true;
};
}

View file

@ -3,12 +3,11 @@
namespace,
config,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.desktop.plasma;
in {
options.${namespace}.desktop.plasma = { enable = mkEnableOption "Whether to enable the KDE Plasma desktop environment"; };
options.${namespace}.desktop.plasma = {enable = mkEnableOption "Whether to enable the KDE Plasma desktop environment";};
config = mkIf cfg.enable {
services.xserver.enable = true;