25 lines
555 B
Nix
25 lines
555 B
Nix
{ config, lib, pkgs, ... }: {
|
|
|
|
options.sysconfig.live.enable = lib.options.mkOption {
|
|
type = lib.types.bool;
|
|
default = true;
|
|
};
|
|
|
|
config = lib.mkIf config.sysconfig.live.enable {
|
|
services ={
|
|
xserver.enable = true;
|
|
displayManager.enable = true;
|
|
};
|
|
|
|
environment = {
|
|
shells = with pkgs; [ zsh ];
|
|
sessionVariables = {};
|
|
};
|
|
|
|
programs.zsh.enable = true;
|
|
users.defaultUserShell = pkgs.zsh;
|
|
|
|
system.stateVersion = "24.05";
|
|
};
|
|
}
|