This commit is contained in:
2026-07-09 15:15:48 +09:00
parent 636229c8e5
commit f7c7b28a66
3 changed files with 66 additions and 50 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ in
outputs = { outputs = {
# x1g13 monitor # x1g13 monitor
"eDP-1" = { "eDP-1" = {
scale = 1.0; scale = 1.2;
position = { position = {
x = 2240; x = 2240;
y = 1440; y = 1440;
+54 -49
View File
@@ -54,6 +54,59 @@ in
}; };
}; };
desktop_widgets.enabled = false; desktop_widgets.enabled = false;
widget = {
cpu = {
type = "sysmon";
stat = "cpu_usage";
};
cpu-graph = {
type = "sysmon";
stat = "cpu_usage";
display = "graph";
show_label = false;
};
ram = {
type = "sysmon";
stat = "ram_used";
};
media = {
type = "media";
hide_when_no_media = true;
title_scroll = "always";
};
battery = {
type = "battery";
display_mode = "graphic";
warning_threshold = 30;
};
brightness = {
type = "brightness";
show_label = false;
};
input-volume = {
type = "volume";
device = "input";
};
output-volume = {
type = "volume";
device = "output";
};
clock = {
type = "clock";
format = "{:%Y/%m/%d %H:%M}";
vertical_format = "{:%Y/%m/%d\n%H:%M}";
tooltip_format = "{:%Y/%m/%d %H:%M (%a)}";
};
network-connection = {
type = "custom_button";
glyph = "access-point";
command = "nm-connection-editor";
};
tray = {
type = "tray";
};
};
bar = { bar = {
order = [ "main" ]; order = [ "main" ];
main = { main = {
@@ -73,6 +126,7 @@ in
"media" "media"
"spacer" "spacer"
"notifications" "notifications"
"tray"
"spacer" "spacer"
"battery" "battery"
"input-volume" "input-volume"
@@ -83,55 +137,6 @@ in
"control-center" "control-center"
]; ];
}; };
widget = {
cpu = {
type = "sysmon";
stat = "cpu_usage";
};
cpu-graph = {
type = "sysmon";
stat = "cpu_usage";
display = "graph";
show_label = false;
};
ram = {
type = "sysmon";
stat = "ram_used";
};
media = {
type = "media";
hide_when_no_media = true;
title_scroll = "always";
};
battery = {
type = "battery";
display_mode = "graphic";
warning_threshold = 30;
};
brightness = {
type = "brightness";
show_label = false;
};
input-volume = {
type = "volume";
device = "input";
};
output-volume = {
type = "volume";
device = "output";
};
clock = {
type = "clock";
format = "{:%Y/%m/%d %H:%M}";
vertical_format = "{:%Y/%m/%d\n%H:%M}";
tooltip_format = "{:%Y/%m/%d %H:%M (%a)}";
};
network-connection = {
type = "custom_button";
glyph = "access-point";
command = "nm-connection-editor";
};
};
}; };
colorSchemes.predefinedScheme = "dracula"; colorSchemes.predefinedScheme = "dracula";
general = { general = {
+11
View File
@@ -13,9 +13,20 @@ in
enable = lib.mkEnableOption "noctalia system package"; enable = lib.mkEnableOption "noctalia system package";
}; };
imports = [
inputs.noctalia.nixosModules.default
];
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
]; ];
programs.noctalia = {
enable = true;
recommendedServices.enable = true;
systemd.enable = true;
};
}; };
} }