Compare commits

..

4 Commits

Author SHA1 Message Date
b0fe851dec change nvidia prime settings, change desktop config screens arangement
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m13s
2025-11-03 16:31:29 +01:00
c631965709 fix screen dispotition on desktop, add yubico-pam on desktop config
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 1m59s
2025-10-26 01:36:53 +02:00
a5134e71b8 add hyprshot and use it with screenshot shortcut
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m28s
2025-10-16 16:11:07 +02:00
93fd2215da gpg signed commits
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m18s
2025-10-11 00:02:54 +02:00
8 changed files with 42 additions and 27 deletions

View File

@ -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

View File

@ -4,16 +4,18 @@
mods.x11.enable = true; mods.x11.enable = true;
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
monitor = [ monitor = [
"HDMI-A-1, 1920x1080@60, 0x0, auto" "DP-1, 1280x1024@75.03Hz, -3200x0, auto"
"HDMI-A-3, 1920x1080@60, 1920x0, auto" "HDMI-A-1, 1920x1080@60, -1920x0, auto"
"DP-1, 1280x1024@60, 3840x0, auto" "HDMI-A-3, 1920x1080@74.97Hz, 0x0, auto"
"DP-3, 1280x1024@60, 5120x0, auto" "DP-3, 1920x1080@60.00Hz, 1920x0, auto"
"DP-4, 1280x1024@75.03Hz, 3840x0, auto"
]; ];
workspace = [ workspace = [
"1, monitor:HDMI-A-1" "4, monitor:DP-1"
"2, monitor:HDMI-A-3, default:true" "3, monitor:HDMI-A-1"
"3, monitor:DP-1" "1, monitor:HDMI-A-3, default:true"
"4, monitor:DP-3" "2, monitor:DP-3"
"5, monitor:DP-4"
]; ];
env = [ env = [
"AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0" "AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"

View File

@ -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";

View File

@ -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;

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# # # Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
# Updated: 2025/09/06 00:57:05 by tomoron ### ########.fr # # Updated: 2025/10/29 21:15:42 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -22,20 +22,25 @@
networking.hostName = "nixos-fixe"; networking.hostName = "nixos-fixe";
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
mods.yubikey.pam.enable = true;
boot.kernelModules = [ "kvm-intel" "nvidia" ]; boot.kernelModules = [ "kvm-intel" "nvidia" ];
mods.displayManager.enable = true; mods.displayManager.enable = true;
hardware.nvidia = { mods.nvidia.enable = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; mods.gayming.enable = true;
open = true;
prime.nvidiaBusId = "PCI:1:0:0"; programs.noisetorch.enable = true;
prime.intelBusId = "PCI:0:2:0";
prime.sync.enable = true;
modesetting.enable = true; # hardware.nvidia = {
}; # open = true;
#
# prime.nvidiaBusId = "PCI:1:0:0";
# prime.intelBusId = "PCI:0:2:0";
# prime.sync.enable = true;
#
# modesetting.enable = true;
# };
services.openssh.enable = true; services.openssh.enable = true;
} }

View File

@ -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/29 21:15:44 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;
@ -80,7 +81,6 @@
mods.touchpad.enable = true; mods.touchpad.enable = true;
programs.gamescope.enable = true;
# programs.gamescope.capSysNice = true; # programs.gamescope.capSysNice = true;
mods.powerSave = { mods.powerSave = {
@ -98,6 +98,7 @@
}; };
services.asusd = { services.asusd = {
enable = true; enable = true;
enableUserService = true; enableUserService = true;
@ -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;

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:47:09 by tomoron #+# #+# # # Created: 2025/09/05 23:47:09 by tomoron #+# #+# #
# Updated: 2025/09/05 23:54:57 by tomoron ### ########.fr # # Updated: 2025/10/27 00:50:29 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -22,5 +22,6 @@
config = lib.mkIf config.mods.gayming.enable { config = lib.mkIf config.mods.gayming.enable {
programs.steam.enable = true; programs.steam.enable = true;
programs.steam.protontricks.enable = true; programs.steam.protontricks.enable = true;
programs.gamescope.enable = true;
}; };
} }

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:47:19 by tomoron #+# #+# # # Created: 2025/09/05 23:47:19 by tomoron #+# #+# #
# Updated: 2025/09/06 01:12:34 by tomoron ### ########.fr # # Updated: 2025/10/26 21:12:18 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -28,7 +28,7 @@
open = lib.mkOption { open = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = true; default = true;
description = "use beta version of the drivers"; description = "use open version of the drivers (on newer gpu)";
}; };
containerToolkit = lib.mkOption { containerToolkit = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;