170 lines
4.3 KiB
Nix
170 lines
4.3 KiB
Nix
{
|
|
flake.modules.homeManager.noctalia =
|
|
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
homeDir = config.home.homeDirectory;
|
|
wallpaper = "${homeDir}/media/images/wallpapers/green-leaves.png";
|
|
in
|
|
{
|
|
imports = [ inputs.noctalia.homeModules.default ];
|
|
|
|
desktop.autostart = [ [ (lib.getExe config.programs.noctalia.package) ] ];
|
|
|
|
programs.noctalia = {
|
|
enable = true;
|
|
settings = {
|
|
audio = {
|
|
enable_sounds = true;
|
|
sound_volume = 1.0;
|
|
};
|
|
|
|
bar.default = {
|
|
center = [
|
|
"clock"
|
|
"text_separator"
|
|
"date"
|
|
];
|
|
end = [
|
|
"tray"
|
|
"bluetooth"
|
|
"volume"
|
|
]
|
|
++ lib.optionals (config.facts.machine.name == "zenith") [
|
|
"network"
|
|
"battery"
|
|
]
|
|
++ [
|
|
"clipboard"
|
|
"session"
|
|
];
|
|
start = [
|
|
"control-center"
|
|
"workspaces"
|
|
];
|
|
font_weight = 400;
|
|
thickness = 30;
|
|
};
|
|
|
|
calendar = {
|
|
enabled = true;
|
|
account.radicale = {
|
|
name = "Personal";
|
|
provider = "custom";
|
|
server_url = "${config.facts.services.radicale.origin}/";
|
|
type = "caldav";
|
|
username = config.facts.account.name;
|
|
};
|
|
};
|
|
|
|
desktop_widgets = {
|
|
enabled = false;
|
|
schema_version = 2;
|
|
widget_order = [ ];
|
|
grid = {
|
|
cell_size = 16;
|
|
major_interval = 4;
|
|
visible = true;
|
|
};
|
|
widget = { };
|
|
};
|
|
|
|
location.address = "Meterik, The Netherlands";
|
|
|
|
lockscreen = {
|
|
blur_intensity = 0.8;
|
|
blurred_desktop = true;
|
|
fingerprint = false;
|
|
tint_intensity = 0.5;
|
|
};
|
|
|
|
lockscreen_widgets.enabled = true;
|
|
|
|
nightlight = {
|
|
enabled = true;
|
|
temperature_night = 3000;
|
|
};
|
|
|
|
notification = {
|
|
layer = "overlay";
|
|
position = "bottom_right";
|
|
};
|
|
|
|
plugins = {
|
|
enabled = [ ];
|
|
source = [
|
|
{
|
|
kind = "git";
|
|
location = "https://github.com/noctalia-dev/official-plugins";
|
|
name = "official";
|
|
}
|
|
{
|
|
kind = "git";
|
|
location = "https://github.com/noctalia-dev/community-plugins";
|
|
name = "community";
|
|
}
|
|
];
|
|
};
|
|
|
|
shell = {
|
|
font_family = "Lexend";
|
|
screen_time_enabled = true;
|
|
settings_show_advanced = true;
|
|
ui_scale = 1.1;
|
|
animation.speed = 1.5;
|
|
screen_corners = {
|
|
enabled = true;
|
|
size = 50;
|
|
};
|
|
screenshot.directory = "${homeDir}/media/images/screenshots";
|
|
};
|
|
|
|
theme = {
|
|
builtin = "Kanagawa";
|
|
community_palette = "Kanagawa Paper";
|
|
wallpaper_scheme = "m3-content";
|
|
templates = {
|
|
enable_builtin_templates = false;
|
|
enable_community_templates = false;
|
|
};
|
|
};
|
|
|
|
wallpaper = {
|
|
directory = "${homeDir}/media/images/wallpapers";
|
|
default.path = wallpaper;
|
|
last.path = wallpaper;
|
|
};
|
|
|
|
weather.refresh_minutes = 15;
|
|
|
|
widget = {
|
|
bluetooth.hide_when_no_connected_device = true;
|
|
cat = {
|
|
audio_spectrum = true;
|
|
type = "noctalia/bongocat:cat";
|
|
};
|
|
clock.format = "{:%H:%M}";
|
|
media = {
|
|
art_size = 90.0;
|
|
max_length = 800;
|
|
};
|
|
text_separator = {
|
|
anchor = true;
|
|
format = "•";
|
|
type = "clock";
|
|
};
|
|
tray.drawer = true;
|
|
volume.show_label = false;
|
|
network.show_label = false;
|
|
battery.show_label = false;
|
|
workspaces.display = "none";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|