2023-06-04 16:58:15 +01:00
|
|
|
{...}: {
|
2023-06-18 13:55:27 +01:00
|
|
|
imports = [
|
|
|
|
../../home/personal.nix
|
|
|
|
../../home/gui
|
|
|
|
../../home/desktop/sway.nix
|
|
|
|
];
|
2023-06-04 16:58:15 +01:00
|
|
|
home.username = "xenia";
|
|
|
|
home.homeDirectory = "/home/xenia";
|
|
|
|
home.stateVersion = "22.11";
|
2023-06-18 10:40:57 +01:00
|
|
|
|
2023-06-18 13:55:27 +01:00
|
|
|
# wayland.windowManager.hyprland.extraConfig = ''
|
|
|
|
# source=./common.conf
|
|
|
|
# monitor=HDMI-A-2,preferred,auto,2.00
|
|
|
|
# '';
|
|
|
|
wayland.windowManager.sway = {
|
|
|
|
config = {
|
|
|
|
input = {"*" = {xkb_layout = "gb";};};
|
|
|
|
modifier = "Mod4";
|
|
|
|
output = {
|
|
|
|
HDMI-A-2 = {
|
|
|
|
scale = "2.0";
|
|
|
|
bg = "~/nixos/wallpaper.jpg fill";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
gaps = {
|
|
|
|
inner = 5;
|
|
|
|
outer = 20;
|
|
|
|
};
|
|
|
|
startup = [{command = "dunst";} {command = "waybar";} {command = "steam";}];
|
|
|
|
};
|
|
|
|
};
|
2023-06-18 10:40:57 +01:00
|
|
|
programs.waybar.settings.main = {
|
2023-06-18 13:55:27 +01:00
|
|
|
"modules-left" = ["sway/workspaces"];
|
2023-06-18 10:40:57 +01:00
|
|
|
"modules-center" = ["clock"];
|
|
|
|
"modules-right" = [
|
|
|
|
"cpu"
|
|
|
|
"memory"
|
|
|
|
"temperature"
|
|
|
|
"pulseaudio"
|
|
|
|
"bluetooth"
|
|
|
|
"network"
|
|
|
|
"backlight"
|
|
|
|
"battery"
|
|
|
|
"tray"
|
|
|
|
];
|
|
|
|
};
|
2023-06-04 16:58:15 +01:00
|
|
|
}
|