Compare commits
8 commits
752dfc55e8
...
aec7aa871f
| Author | SHA1 | Date | |
|---|---|---|---|
| aec7aa871f | |||
| e9e78f3a1a | |||
| 35ec865ca5 | |||
| 1b78ba6f7a | |||
| 6993f5f6d5 | |||
| a717ad987d | |||
| 63c2ebb71b | |||
| f5e8dc81e8 |
5 changed files with 11 additions and 21 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
|
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
criteria = "Dell Inc. DELL S2721QS DWTC513";
|
criteria = "Dell Inc. DELL P4317Q";
|
||||||
scale = 1.2;
|
scale = 1.2;
|
||||||
position = "0,0";
|
position = "0,0";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -94,18 +94,7 @@ in
|
||||||
pavucontrol
|
pavucontrol
|
||||||
stable.libreoffice # NOTE breaks often
|
stable.libreoffice # NOTE breaks often
|
||||||
stable.signal-desktop # NOTE breaks often
|
stable.signal-desktop # NOTE breaks often
|
||||||
stable.texlive.combined.scheme-full # NOTE breaks often
|
|
||||||
thunderbird
|
|
||||||
vlc
|
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;
|
programs.nix-ld.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,11 @@ in
|
||||||
users.users.moritz.packages = with pkgs; [
|
users.users.moritz.packages = with pkgs; [
|
||||||
brightnessctl # control brightness
|
brightnessctl # control brightness
|
||||||
grimblast # screenshot tool
|
grimblast # screenshot tool
|
||||||
pamixer # pulse audio cli
|
|
||||||
playerctl # control media playback
|
playerctl # control media playback
|
||||||
slurp # region select for wayland (for screensharing)
|
|
||||||
wdisplays # manage monitors
|
wdisplays # manage monitors
|
||||||
wl-clipboard # clipboard tool for wayland
|
wl-clipboard # clipboard tool for wayland
|
||||||
|
wlr-randr
|
||||||
|
jq
|
||||||
];
|
];
|
||||||
|
|
||||||
# adds pam module for swaylock
|
# adds pam module for swaylock
|
||||||
|
|
@ -77,6 +77,8 @@ in
|
||||||
color = "000000";
|
color = "000000";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.user.services.waybar.Unit.After = [ "graphical-session.target" ];
|
||||||
|
systemd.user.services.swayidle.Unit.After = [ "graphical-session.target" ];
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
events = [
|
events = [
|
||||||
|
|
@ -105,10 +107,6 @@ in
|
||||||
];
|
];
|
||||||
systemdTarget = "niri.service";
|
systemdTarget = "niri.service";
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
|
||||||
wlr-randr
|
|
||||||
jq
|
|
||||||
];
|
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemdTarget = "niri.service";
|
systemdTarget = "niri.service";
|
||||||
|
|
@ -191,11 +189,9 @@ in
|
||||||
layout = {
|
layout = {
|
||||||
border.enable = false;
|
border.enable = false;
|
||||||
focus-ring.enable = false;
|
focus-ring.enable = false;
|
||||||
default-column-width.proportion = 2.0 / 3.0;
|
|
||||||
preset-column-widths = [
|
preset-column-widths = [
|
||||||
{ proportion = 1.0 / 3.0; }
|
|
||||||
{ proportion = 2.0 / 3.0; }
|
{ proportion = 2.0 / 3.0; }
|
||||||
{ proportion = 1.0 / 1.0; }
|
{ proportion = 1.0 / 3.0; }
|
||||||
];
|
];
|
||||||
gaps = 3;
|
gaps = 3;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
home-manager.users.moritz.programs.nixvim = {
|
home-manager.users.moritz.programs.nixvim = {
|
||||||
plugins.blink-compat.enable = true;
|
plugins.blink-compat.enable = true;
|
||||||
|
plugins.cmp-vimtex.enable = true;
|
||||||
plugins.lsp.capabilities = /* lua */ ''
|
plugins.lsp.capabilities = /* lua */ ''
|
||||||
capabilities = require('blink.cmp').get_lsp_capabilities(capabilities)
|
capabilities = require('blink.cmp').get_lsp_capabilities(capabilities)
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,10 @@ in
|
||||||
after = [ "graphical-session.target" "network.target" ];
|
after = [ "graphical-session.target" "network.target" ];
|
||||||
partOf = [ "graphical-session.target" ];
|
partOf = [ "graphical-session.target" ];
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
environment = {
|
||||||
|
QT_QPA_PLATFORM = "xcb";
|
||||||
|
DISPLAY = ":0";
|
||||||
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExitType = "cgroup";
|
ExitType = "cgroup";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue