Compare commits
No commits in common. "420b5d5d1001ab3499241b1de47a5c0383f6ee81" and "462f2e3276432932c375f214363780a37a1148b5" have entirely different histories.
420b5d5d10
...
462f2e3276
5 changed files with 24 additions and 16 deletions
|
@ -10,13 +10,10 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
my = {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
profiles = {
|
||||
my.profiles = {
|
||||
desktop.enable = true;
|
||||
personal.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# BOOT
|
||||
boot = {
|
||||
|
@ -37,7 +34,6 @@
|
|||
xserver.libinput.enable = true;
|
||||
xserver.libinput.touchpad.disableWhileTyping = true;
|
||||
printing.enable = true;
|
||||
logind.lidSwitch = "hybrid-sleep";
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
|
@ -110,6 +106,16 @@
|
|||
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,7 +72,6 @@ in
|
|||
};
|
||||
};
|
||||
services = {
|
||||
illum.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
|
|
|
@ -171,6 +171,8 @@ 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 = "${getExe pkgs.swaylock} -fF";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "${getExe pkgs.swaylock} -fF";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF";
|
||||
}
|
||||
];
|
||||
timeouts =
|
||||
|
@ -118,10 +118,12 @@ in
|
|||
}
|
||||
] ++ optional
|
||||
(!cfg.nvidiaSupport) # TODO https://github.com/hyprwm/Hyprland/issues/1728
|
||||
[
|
||||
{
|
||||
timeout = 30 * 60;
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend-and-hibernate";
|
||||
};
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend-then-hibernate";
|
||||
}
|
||||
];
|
||||
systemdTarget = "hyprland-session.target";
|
||||
};
|
||||
};
|
||||
|
@ -146,7 +148,7 @@ in
|
|||
wantedBy = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStartPre = "${pkgs.coreutils}/bin/sleep 0.5";
|
||||
ExecStart = "${getExe pkgs.hyprpaper} -c ${config}";
|
||||
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper -c ${config}";
|
||||
RestartSec = "500ms";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
|
|
@ -94,4 +94,3 @@ in
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue