mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 15:24:08 +09:00
noctalia
This commit is contained in:
@@ -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,35 +54,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
desktop_widgets.enabled = false;
|
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 = {
|
widget = {
|
||||||
cpu = {
|
cpu = {
|
||||||
type = "sysmon";
|
type = "sysmon";
|
||||||
@@ -131,6 +102,40 @@ in
|
|||||||
glyph = "access-point";
|
glyph = "access-point";
|
||||||
command = "nm-connection-editor";
|
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";
|
colorSchemes.predefinedScheme = "dracula";
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user