Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a5134e71b8
|
|||
|
93fd2215da
|
2
Makefile
2
Makefile
@ -27,5 +27,5 @@ cleanup :
|
|||||||
nix-env --delete-generations +1
|
nix-env --delete-generations +1
|
||||||
sudo nix-collect-garbage -d
|
sudo nix-collect-garbage -d
|
||||||
|
|
||||||
optimise :
|
optimize :
|
||||||
nix-store --optimize -vv
|
nix-store --optimize -vv
|
||||||
|
|||||||
@ -19,6 +19,8 @@
|
|||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
rerere.enabled = true;
|
rerere.enabled = true;
|
||||||
help.autocorrect = 1;
|
help.autocorrect = 1;
|
||||||
|
user.signingkey = "251B4BD73683A8DF13D760A868BFAFE31DF313AD";
|
||||||
|
commit.gpgsign = true;
|
||||||
};
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f";
|
fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f";
|
||||||
|
|||||||
@ -10,12 +10,14 @@
|
|||||||
config = lib.mkIf config.mods.hyprland.enable {
|
config = lib.mkIf config.mods.hyprland.enable {
|
||||||
wayland.windowManager.hyprland.systemd.variables = [ "--all" ];
|
wayland.windowManager.hyprland.systemd.variables = [ "--all" ];
|
||||||
|
|
||||||
|
programs.hyprshot.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland.enable = true;
|
wayland.windowManager.hyprland.enable = true;
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
bind = [
|
bind = [
|
||||||
" , Print, exec, grim -t png -g \"$(slurp)\" /dev/stdout | tee ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png | wl-copy -t image/png"
|
" , Print, exec, hyprshot -m region -o ~/screenshots -f $(date +%Y-%m-%d_%H-%M-%S).png"
|
||||||
" SHIFT, Print, exec, grim -t png /dev/stdout | tee ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png | wl-copy -t image/png"
|
" SHIFT, Print, exec, hyprshot -m output -m active -o ~/screenshots -f $(date +%Y-%m-%d_%H-%M-%S).png"
|
||||||
"$mainMod, Return, exec, alacritty"
|
"$mainMod, Return, exec, alacritty"
|
||||||
"CTRL_ALT, Q, killactive,"
|
"CTRL_ALT, Q, killactive,"
|
||||||
"CTRL_ALT_SHIFT, Q, forcekillactive,"
|
"CTRL_ALT_SHIFT, Q, forcekillactive,"
|
||||||
@ -165,6 +167,8 @@
|
|||||||
allow_tearing = false;
|
allow_tearing = false;
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
layerrule = "noanim, selection";
|
||||||
|
|
||||||
cursor.no_warps = true;
|
cursor.no_warps = true;
|
||||||
|
|
||||||
|
|||||||
@ -6,11 +6,11 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
||||||
# Updated: 2025/10/04 22:23:34 by tomoron ### ########.fr #
|
# Updated: 2025/10/11 00:23:01 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.initrd.luks.yubikeySupport = true;
|
boot.initrd.luks.yubikeySupport = true;
|
||||||
@ -65,6 +65,7 @@
|
|||||||
SUBSYSTEM=="kvmfr", OWNER="tom", GROUP="kvm", MODE="0660"
|
SUBSYSTEM=="kvmfr", OWNER="tom", GROUP="kvm", MODE="0660"
|
||||||
'';
|
'';
|
||||||
environment.systemPackages = with pkgs; [ looking-glass-client ];
|
environment.systemPackages = with pkgs; [ looking-glass-client ];
|
||||||
|
services.supergfxd.settings.mode = "Vfio";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.dhcpcd.enable = false;
|
networking.dhcpcd.enable = false;
|
||||||
@ -105,7 +106,7 @@
|
|||||||
|
|
||||||
services.supergfxd.enable = true;
|
services.supergfxd.enable = true;
|
||||||
services.supergfxd.settings = {
|
services.supergfxd.settings = {
|
||||||
mode = "Integrated";
|
mode = lib.mkDefault "Integrated";
|
||||||
vfio_enable = true;
|
vfio_enable = true;
|
||||||
vfio_save = true;
|
vfio_save = true;
|
||||||
always_reboot = false;
|
always_reboot = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user