1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-01 19:02:19 +02:00
parent a026867c03
commit d1d7dd9c01
No known key found for this signature in database
22 changed files with 427 additions and 103 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.desktop;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.wl-clipboard
];
};
}

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
let
cfg = config.profiles.headful;
in
{
options.profiles.headful = {
enable = lib.mkEnableOption "headful";
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = !config.profiles.server.enable;
message = "The headful profile is not compatible with the server profile.";
}
];
};
}

View file

@ -0,0 +1,48 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.headful;
in
{
config = lib.mkIf cfg.enable {
fonts = {
enableDefaultPackages = true;
packages = [
pkgs.noto-fonts
pkgs.noto-fonts-extra
pkgs.noto-fonts-cjk-sans
pkgs.noto-fonts-cjk-serif
pkgs.noto-fonts-monochrome-emoji
pkgs.noto-fonts-color-emoji
pkgs.nerd-fonts.fira-code
];
fontconfig = {
enable = true;
defaultFonts = {
monospace = [
"FiraCode Nerd Font"
];
sansSerif = [
"Noto Sans"
];
serif = [
"Noto Serif"
];
emoji = [
"Noto Color Emoji"
"Noto Emoji"
];
};
};
# TODO
fontDir.enable = true;
};
};
}

View file

@ -0,0 +1,21 @@
{
config,
lib,
...
}:
let
cfg = config.profiles.headful;
in
{
config = lib.mkIf cfg.enable {
security.rtkit.enable = true;
services.pipewire = {
enable = true;
wireplumber.enable = true;
alsa.enable = true;
pulse.enable = true;
jack.enable = true;
};
};
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}:
let
cfg = config.profiles.headful;
in
{
config = lib.mkIf cfg.enable {
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
SDL_VIDEODRIVER = "wayland,x11";
};
};
}