Compare commits
6 Commits
462f2e3276
...
420b5d5d10
Author | SHA1 | Date |
---|---|---|
Moritz Böhme | 420b5d5d10 | |
Moritz Böhme | 9df08be993 | |
Moritz Böhme | e503567eda | |
Moritz Böhme | 3a0d4845b0 | |
Moritz Böhme | 13883e7178 | |
Moritz Böhme | d3f0fe0539 |
|
@ -10,9 +10,12 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
my.profiles = {
|
||||
desktop.enable = true;
|
||||
personal.enable = true;
|
||||
my = {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
profiles = {
|
||||
desktop.enable = true;
|
||||
personal.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# BOOT
|
||||
|
@ -34,6 +37,7 @@
|
|||
xserver.libinput.enable = true;
|
||||
xserver.libinput.touchpad.disableWhileTyping = true;
|
||||
printing.enable = true;
|
||||
logind.lidSwitch = "hybrid-sleep";
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
|
@ -106,16 +110,6 @@
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host builder
|
||||
Hostname 192.168.0.14
|
||||
Port 22
|
||||
User moritz
|
||||
|
||||
IdentitiesOnly yes
|
||||
IdentityFile /etc/ssh/ssh_host_ed25519_key
|
||||
'';
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
@ -72,6 +72,7 @@ in
|
|||
};
|
||||
};
|
||||
services = {
|
||||
illum.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
|
|
|
@ -171,8 +171,6 @@ in
|
|||
bind = , XF86AudioNext , exec , playerctl -p "spotifyd,firefox" next
|
||||
bind = , XF86AudioPlay , exec , playerctl -p "spotifyd,firefox" play-pause
|
||||
bind = , XF86AudioPrev , exec , playerctl -p "spotifyd,firefox" previous
|
||||
binde = , XF86MonBrightnessDown , exec , brightnessctl s 10%-
|
||||
binde = , XF86MonBrightnessUp , exec , brightnessctl s 10%+
|
||||
|
||||
# Move focus with mainMod + hjkl
|
||||
binde = $mainMod, H, movefocus, l
|
||||
|
|
|
@ -91,11 +91,11 @@ in
|
|||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF";
|
||||
command = "${getExe pkgs.swaylock} -fF";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF";
|
||||
command = "${getExe pkgs.swaylock} -fF";
|
||||
}
|
||||
];
|
||||
timeouts =
|
||||
|
@ -118,12 +118,10 @@ in
|
|||
}
|
||||
] ++ optional
|
||||
(!cfg.nvidiaSupport) # TODO https://github.com/hyprwm/Hyprland/issues/1728
|
||||
[
|
||||
{
|
||||
timeout = 30 * 60;
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend-then-hibernate";
|
||||
}
|
||||
];
|
||||
{
|
||||
timeout = 30 * 60;
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend-and-hibernate";
|
||||
};
|
||||
systemdTarget = "hyprland-session.target";
|
||||
};
|
||||
};
|
||||
|
@ -148,7 +146,7 @@ in
|
|||
wantedBy = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStartPre = "${pkgs.coreutils}/bin/sleep 0.5";
|
||||
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper -c ${config}";
|
||||
ExecStart = "${getExe pkgs.hyprpaper} -c ${config}";
|
||||
RestartSec = "500ms";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
|
|
@ -94,3 +94,4 @@ in
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue