Compare commits

...

8 commits

5 changed files with 11 additions and 21 deletions

View file

@ -51,7 +51,7 @@
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
}
{
criteria = "Dell Inc. DELL S2721QS DWTC513";
criteria = "Dell Inc. DELL P4317Q";
scale = 1.2;
position = "0,0";
}

View file

@ -94,18 +94,7 @@ in
pavucontrol
stable.libreoffice # NOTE breaks often
stable.signal-desktop # NOTE breaks often
stable.texlive.combined.scheme-full # NOTE breaks often
thunderbird
vlc
(symlinkJoin {
name = "obsidian-wayland";
paths = [ obsidian ];
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/obsidian \
--add-flags "--socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland"
'';
})
];
programs.nix-ld.enable = true;

View file

@ -19,11 +19,11 @@ in
users.users.moritz.packages = with pkgs; [
brightnessctl # control brightness
grimblast # screenshot tool
pamixer # pulse audio cli
playerctl # control media playback
slurp # region select for wayland (for screensharing)
wdisplays # manage monitors
wl-clipboard # clipboard tool for wayland
wlr-randr
jq
];
# adds pam module for swaylock
@ -77,6 +77,8 @@ in
color = "000000";
};
};
systemd.user.services.waybar.Unit.After = [ "graphical-session.target" ];
systemd.user.services.swayidle.Unit.After = [ "graphical-session.target" ];
services.swayidle = {
enable = true;
events = [
@ -105,10 +107,6 @@ in
];
systemdTarget = "niri.service";
};
home.packages = with pkgs; [
wlr-randr
jq
];
services.kanshi = {
enable = true;
systemdTarget = "niri.service";
@ -191,11 +189,9 @@ in
layout = {
border.enable = false;
focus-ring.enable = false;
default-column-width.proportion = 2.0 / 3.0;
preset-column-widths = [
{ proportion = 1.0 / 3.0; }
{ proportion = 2.0 / 3.0; }
{ proportion = 1.0 / 1.0; }
{ proportion = 1.0 / 3.0; }
];
gaps = 3;
};

View file

@ -3,6 +3,7 @@
{
home-manager.users.moritz.programs.nixvim = {
plugins.blink-compat.enable = true;
plugins.cmp-vimtex.enable = true;
plugins.lsp.capabilities = /* lua */ ''
capabilities = require('blink.cmp').get_lsp_capabilities(capabilities)
'';

View file

@ -24,6 +24,10 @@ in
after = [ "graphical-session.target" "network.target" ];
partOf = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
environment = {
QT_QPA_PLATFORM = "xcb";
DISPLAY = ":0";
};
serviceConfig = {
ExitType = "cgroup";
Restart = "always";