nixos/hosts/Northstar/home.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

{pkgs, ...}: {
2023-06-18 18:27:57 +01:00
imports = [
../../home/personal.nix
../../home/gui/firefox.nix
../../home/desktop/sway.nix
];
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11";
programs.home-manager.enable = true;
programs.bash.bashrcExtra = ''
source $HOME/.nix-profile/etc/profile.d/nix.sh
'';
programs.firefox.package = pkgs.firefox-wayland;
services.syncthing.enable = true;
fonts.fontconfig.enable = true;
2023-06-18 18:27:57 +01:00
wayland.windowManager.sway = {
config = {
input = {
"touch" = {map_to_output = "DSI-1";};
"touchpad" = {click_method = "clickfinger";};
"10182:3632:hid-over-i2c_27C6:0E30" = {map_to_output = "DSI-1";};
};
terminal = "${pkgs.foot}/bin/foot";
2023-06-18 18:27:57 +01:00
output = {
DSI-1 = {
scale = "2.0";
transform = "270";
};
};
};
};
programs.waybar = {
settings = {
main = {
"modules-left" = ["sway/workspaces"];
"modules-center" = ["clock#compact"];
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
};
};
};
}