Serenity/modules/features/desktop/default.nix
Porta 39ac00a2b5
Refresh flake inputs and expand fractal desktop configuration
- Add CreamInstaller with an NVIDIA WebKit workaround
- Enable Minecraft Plymouth theme and Docker on fractal
- Add development, terminal, gaming, and launcher utilities
- Expand firewall ports and enable automatic generation cleanup
2026-11-10 21:28:59 +10:00

72 lines
1.4 KiB
Nix

{ self, inputs, ... }:
{
# desktop supermodule declaration
flake.nixosModules.desktop =
{
pkgs,
lib,
user-parts,
...
}:
{
# modules to include
imports = [
# window manager
self.nixosModules.niri
# desktop shell/status bar
self.nixosModules.noctalia
# for home manager functionality
inputs.home-manager.nixosModules.home-manager
];
# polkit
security.polkit = {
enable = true;
};
# session management
environment.variables = {
XDG_SESSION_TYPE = "wayland";
};
services.displayManager.regreet = {
enable = true;
};
# disk management
services.udisks2.enable = true;
programs.gnome-disks.enable = true;
environment.systemPackages = with pkgs; [ gparted ];
home-manager.users.${user-parts.user.username} = {
# password prompts
services.gnome-keyring.enable = true;
# more desktop applications
home.packages = with pkgs; [
gnome-calculator # simple calculator
gnome-secrets # password manager
file-roller # archive manager
obsidian # note taking
nautilus # file manager
swayimg # image viewer
zathura # pdf viewer
vscodium-fhs # vscode editor
opencode-desktop
prismlauncher
xivlauncher
];
};
};
}