nixos/machines/Vanguard/xenia.nix

48 lines
1 KiB
Nix

{...}: {
imports = [
../../home/personal.nix
../../home/gui
../../home/desktop/sway.nix
];
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11";
# 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";}];
};
};
programs.waybar.settings.main = {
"modules-left" = ["sway/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
"cpu"
"memory"
"temperature"
"pulseaudio"
"bluetooth"
"network"
"backlight"
"battery"
"tray"
];
};
}