Remove sway config from Northstart to use plasma (from Debian repos) instead

This commit is contained in:
Evie Litherland-Smith 2023-06-13 09:16:54 +01:00
parent 506ef32b1f
commit ffbe19401c

View file

@ -1,70 +1,20 @@
{pkgs, ...}: let {pkgs, ...}: {
rot8 = pkgs.callPackage ../desktop/pkgs/rot8 {};
in {
imports = [ imports = [
../env ../env
../tui ../tui
../gui/chromium.nix ../gui/chromium.nix
../gui/foot.nix ../gui/foot.nix
../desktop/sway.nix
../ssh/personal.nix ../ssh/personal.nix
../git/personal.nix ../git/personal.nix
]; ];
home.username = "xenia"; home.username = "xenia";
home.homeDirectory = "/home/xenia"; home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.packages = with pkgs; [home-manager rot8]; home.packages = with pkgs; [home-manager sweet];
programs.bash.bashrcExtra = '' programs.bash.bashrcExtra = ''
source $HOME/.nix-profile/etc/profile.d/nix.sh source $HOME/.nix-profile/etc/profile.d/nix.sh
''; '';
services.syncthing = { services.syncthing.enable = true;
enable = true;
tray = {enable = false;};
};
fonts.fontconfig.enable = true; fonts.fontconfig.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";
};
};
gaps = {
inner = 5;
top = 5;
bottom = 5;
left = 20;
right = 20;
};
startup = [
{command = "dunst";}
{command = "waybar";}
{command = "rot8";}
];
};
};
programs.waybar = {
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = ["sway/workspaces"];
"modules-center" = ["clock#compact"];
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
};
};
};
} }