2023-06-12 10:06:26 +01:00
|
|
|
{pkgs, ...}: let
|
|
|
|
rot8 = pkgs.callPackage ../desktop/pkgs/rot8 {};
|
|
|
|
in {
|
2023-06-04 09:38:51 +01:00
|
|
|
imports = [
|
|
|
|
../env
|
|
|
|
../tui
|
2023-06-09 18:51:28 +01:00
|
|
|
../gui/chromium.nix
|
2023-06-04 09:38:51 +01:00
|
|
|
../gui/foot.nix
|
|
|
|
../desktop/sway.nix
|
|
|
|
../ssh/personal.nix
|
|
|
|
../git/personal.nix
|
|
|
|
];
|
2023-06-02 12:21:33 +01:00
|
|
|
home.username = "xenia";
|
|
|
|
home.homeDirectory = "/home/xenia";
|
|
|
|
home.stateVersion = "22.11";
|
2023-06-12 10:06:26 +01:00
|
|
|
home.packages = with pkgs; [home-manager rot8];
|
2023-06-04 09:38:51 +01:00
|
|
|
programs.bash.bashrcExtra = ''
|
|
|
|
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
'';
|
2023-06-02 12:21:33 +01:00
|
|
|
|
2023-06-09 19:05:17 +01:00
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
2023-06-10 08:30:14 +01:00
|
|
|
tray = {enable = false;};
|
2023-06-09 19:05:17 +01:00
|
|
|
};
|
2023-06-12 10:06:26 +01:00
|
|
|
fonts.fontconfig.enable = true;
|
2023-06-09 19:05:17 +01:00
|
|
|
|
2023-06-04 10:01:07 +01:00
|
|
|
wayland.windowManager.sway = {
|
|
|
|
config = {
|
|
|
|
input = {
|
|
|
|
"*" = {xkb_layout = "gb";};
|
|
|
|
"touch" = {map_to_output = "DSI-1";};
|
|
|
|
"touchpad" = {click_method = "clickfinger";};
|
|
|
|
"10182:3632:hid-over-i2c_27C6:0E30" = {map_to_output = "DSI-1";};
|
|
|
|
};
|
|
|
|
modifier = "Mod1";
|
|
|
|
output = {
|
|
|
|
DSI-1 = {
|
2023-06-04 10:02:05 +01:00
|
|
|
scale = "2.0";
|
|
|
|
transform = "270";
|
2023-06-04 10:36:12 +01:00
|
|
|
bg = "~/nixos/wallpaper.jpg fill";
|
2023-06-04 10:01:07 +01:00
|
|
|
};
|
|
|
|
};
|
2023-06-12 10:06:26 +01:00
|
|
|
gaps = {
|
|
|
|
inner = 5;
|
|
|
|
top = 5;
|
|
|
|
bottom = 5;
|
|
|
|
left = 20;
|
|
|
|
right = 20;
|
|
|
|
};
|
2023-06-04 10:01:07 +01:00
|
|
|
startup = [
|
|
|
|
{command = "dunst";}
|
|
|
|
{command = "waybar";}
|
2023-06-12 10:06:26 +01:00
|
|
|
{command = "rot8";}
|
2023-06-04 10:01:07 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2023-06-02 12:21:33 +01:00
|
|
|
programs.waybar = {
|
|
|
|
settings = {
|
|
|
|
main = {
|
|
|
|
"include" = [
|
|
|
|
"~/.config/waybar/modules.json"
|
|
|
|
"~/.config/waybar/layout.json"
|
|
|
|
];
|
2023-06-03 16:48:13 +01:00
|
|
|
"modules-left" = ["sway/workspaces"];
|
|
|
|
"modules-center" = ["clock#compact"];
|
2023-06-06 07:12:27 +01:00
|
|
|
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
|
2023-06-02 12:21:33 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|