56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{pkgs, ...}: {
|
|
imports = [
|
|
../env
|
|
../tui
|
|
../gui/foot.nix
|
|
../desktop/sway.nix
|
|
../ssh/personal.nix
|
|
../git/personal.nix
|
|
];
|
|
home.username = "xenia";
|
|
home.homeDirectory = "/home/xenia";
|
|
home.stateVersion = "22.11";
|
|
home.packages = with pkgs; [home-manager];
|
|
programs.bash.bashrcExtra = ''
|
|
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
'';
|
|
programs.firefox.enable = true;
|
|
|
|
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 = {
|
|
scale = "2.0";
|
|
transform = "270";
|
|
bg = "~/nixos/wallpaper.jpg fill";
|
|
};
|
|
};
|
|
startup = [
|
|
{command = "dunst";}
|
|
# {command = "hyprpaper";}
|
|
{command = "waybar";}
|
|
];
|
|
};
|
|
};
|
|
programs.waybar = {
|
|
settings = {
|
|
main = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"modules-left" = ["sway/workspaces"];
|
|
"modules-center" = ["clock#compact"];
|
|
"modules-right" = ["network" "battery" "tray"];
|
|
};
|
|
};
|
|
};
|
|
}
|