refactor
This commit is contained in:
1 parent
81e576a877
commit
cde67e4d75
46 files changed
+619
-518
No files matched your search
@@ -9,27 +9,12 @@
|
||||
let
|
||||
homeDir = config.home.homeDirectory;
|
||||
wallpaper = "${homeDir}/media/images/wallpapers/green-leaves.png";
|
||||
loginBox = output: {
|
||||
box_height = 70.0;
|
||||
box_width = 400.0;
|
||||
cx = 1280.0;
|
||||
cy = 1317.0;
|
||||
inherit output;
|
||||
rotation = 0.0;
|
||||
type = "login_box";
|
||||
settings = {
|
||||
background_color = "surface_variant";
|
||||
background_opacity = 0.88;
|
||||
background_radius = 12.0;
|
||||
input_opacity = 1.0;
|
||||
input_radius = 6.0;
|
||||
show_login_button = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
desktop.autostart = [ [ (lib.getExe config.programs.noctalia.package) ] ];
|
||||
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -49,7 +34,7 @@
|
||||
"bluetooth"
|
||||
"volume"
|
||||
]
|
||||
++ lib.optionals config.facts.machine.portable [
|
||||
++ lib.optionals (config.facts.machine.name == "zenith") [
|
||||
"network"
|
||||
"battery"
|
||||
]
|
||||
@@ -70,7 +55,7 @@
|
||||
account.radicale = {
|
||||
name = "Personal";
|
||||
provider = "custom";
|
||||
server_url = config.facts.services.radicale.url;
|
||||
server_url = "${config.facts.services.radicale.origin}/";
|
||||
type = "caldav";
|
||||
username = config.facts.account.name;
|
||||
};
|
||||
@@ -97,23 +82,7 @@
|
||||
tint_intensity = 0.5;
|
||||
};
|
||||
|
||||
lockscreen_widgets = {
|
||||
enabled = true;
|
||||
schema_version = 2;
|
||||
widget_order = [
|
||||
"lockscreen-login-box@DP-2"
|
||||
"lockscreen-login-box@DP-3"
|
||||
];
|
||||
grid = {
|
||||
cell_size = 16;
|
||||
major_interval = 4;
|
||||
visible = true;
|
||||
};
|
||||
widget = {
|
||||
"lockscreen-login-box@DP-2" = loginBox "DP-2";
|
||||
"lockscreen-login-box@DP-3" = loginBox "DP-3";
|
||||
};
|
||||
};
|
||||
lockscreen_widgets.enabled = true;
|
||||
|
||||
nightlight = {
|
||||
enabled = true;
|
||||
@@ -168,10 +137,6 @@
|
||||
directory = "${homeDir}/media/images/wallpapers";
|
||||
default.path = wallpaper;
|
||||
last.path = wallpaper;
|
||||
monitors = {
|
||||
DP-2.path = wallpaper;
|
||||
DP-3.path = wallpaper;
|
||||
};
|
||||
};
|
||||
|
||||
weather.refresh_minutes = 15;
|
||||
|
||||
Reference in new issue
Block a user