mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 06:24:09 +09:00
noctalia
This commit is contained in:
@@ -60,7 +60,7 @@ in
|
||||
outputs = {
|
||||
# x1g13 monitor
|
||||
"eDP-1" = {
|
||||
scale = 1.0;
|
||||
scale = 1.2;
|
||||
position = {
|
||||
x = 2240;
|
||||
y = 1440;
|
||||
|
||||
@@ -54,35 +54,6 @@ in
|
||||
};
|
||||
};
|
||||
desktop_widgets.enabled = false;
|
||||
bar = {
|
||||
order = [ "main" ];
|
||||
main = {
|
||||
margin_ends = 15;
|
||||
position = "top";
|
||||
start = [
|
||||
"network"
|
||||
"bluetooth"
|
||||
"network-connection"
|
||||
"spacer"
|
||||
"cpu"
|
||||
"cpu-graph"
|
||||
"ram"
|
||||
];
|
||||
center = [ "workspaces" ];
|
||||
end = [
|
||||
"media"
|
||||
"spacer"
|
||||
"notifications"
|
||||
"spacer"
|
||||
"battery"
|
||||
"input-volume"
|
||||
"output-volume"
|
||||
"privacy"
|
||||
"brightness"
|
||||
"clock"
|
||||
"control-center"
|
||||
];
|
||||
};
|
||||
widget = {
|
||||
cpu = {
|
||||
type = "sysmon";
|
||||
@@ -131,6 +102,40 @@ in
|
||||
glyph = "access-point";
|
||||
command = "nm-connection-editor";
|
||||
};
|
||||
tray = {
|
||||
type = "tray";
|
||||
};
|
||||
};
|
||||
|
||||
bar = {
|
||||
order = [ "main" ];
|
||||
main = {
|
||||
margin_ends = 15;
|
||||
position = "top";
|
||||
start = [
|
||||
"network"
|
||||
"bluetooth"
|
||||
"network-connection"
|
||||
"spacer"
|
||||
"cpu"
|
||||
"cpu-graph"
|
||||
"ram"
|
||||
];
|
||||
center = [ "workspaces" ];
|
||||
end = [
|
||||
"media"
|
||||
"spacer"
|
||||
"notifications"
|
||||
"tray"
|
||||
"spacer"
|
||||
"battery"
|
||||
"input-volume"
|
||||
"output-volume"
|
||||
"privacy"
|
||||
"brightness"
|
||||
"clock"
|
||||
"control-center"
|
||||
];
|
||||
};
|
||||
};
|
||||
colorSchemes.predefinedScheme = "dracula";
|
||||
|
||||
@@ -13,9 +13,20 @@ in
|
||||
enable = lib.mkEnableOption "noctalia system package";
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.noctalia.nixosModules.default
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
recommendedServices.enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user