Compare commits
	
		
			No commits in common. "d6801e0679e31a2f7eabb867b26effec34ee6843" and "bc2f9752ceab62fa17b7a9d391e2f4888c1d7fae" have entirely different histories.
		
	
	
		
			d6801e0679
			...
			bc2f9752ce
		
	
		
					 9 changed files with 26 additions and 96 deletions
				
			
		|  | @ -46,7 +46,6 @@ | ||||||
|         "steam" "steam-unwrapped" "steam-run" |         "steam" "steam-unwrapped" "steam-run" | ||||||
|         "vista-fonts" |         "vista-fonts" | ||||||
|         "intel-ocl" |         "intel-ocl" | ||||||
|         "libfprint-2-tod1-broadcom" |  | ||||||
|       ]; |       ]; | ||||||
|     in |     in | ||||||
|     utils.lib.mkFlake { |     utils.lib.mkFlake { | ||||||
|  |  | ||||||
|  | @ -15,7 +15,6 @@ | ||||||
| 
 | 
 | ||||||
|     hardware = { |     hardware = { | ||||||
|       eid.enable = true; |       eid.enable = true; | ||||||
|       fingerprint-scanner.enable = true; |  | ||||||
|       nvidia = { |       nvidia = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         model = "Quadro T2000"; |         model = "Quadro T2000"; | ||||||
|  | @ -74,19 +73,12 @@ | ||||||
| 
 | 
 | ||||||
|     loader = { |     loader = { | ||||||
|       # Use the systemd-boot EFI boot loader. |       # Use the systemd-boot EFI boot loader. | ||||||
|       systemd-boot = { |       systemd-boot.enable = true; | ||||||
|         enable = true; |  | ||||||
| 
 |  | ||||||
|         editor = false; |  | ||||||
|         memtest86.enable = true; |  | ||||||
|       }; |  | ||||||
|       efi.canTouchEfiVariables = true; |       efi.canTouchEfiVariables = true; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     # Use latest kernel. |     # Use latest kernel. | ||||||
|     kernelPackages = pkgs.linuxPackages_latest; |     kernelPackages = pkgs.linuxPackages_latest; | ||||||
| 
 |  | ||||||
|     plymouth.enable = true; |  | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   hardware.bluetooth = { |   hardware.bluetooth = { | ||||||
|  | @ -124,8 +116,6 @@ | ||||||
| 
 | 
 | ||||||
|     power-profiles-daemon.enable = false; |     power-profiles-daemon.enable = false; | ||||||
| 
 | 
 | ||||||
|     smartd.enable = true; |  | ||||||
| 
 |  | ||||||
|     thermald.enable = true; |     thermald.enable = true; | ||||||
| 
 | 
 | ||||||
|     xserver = { |     xserver = { | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ./eid |     ./eid | ||||||
|     ./fingerprint-scanner |  | ||||||
|     ./nvidia |     ./nvidia | ||||||
|     ./yubikey |     ./yubikey | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
|  | @ -1,30 +0,0 @@ | ||||||
| { config, lib, pkgs, ... }: |  | ||||||
| 
 |  | ||||||
| let |  | ||||||
|   cfg = config.sisyphus.hardware.fingerprint-scanner; |  | ||||||
| in { |  | ||||||
|   options.sisyphus.hardware.fingerprint-scanner.enable = lib.mkEnableOption "Fingerprint scanner support"; |  | ||||||
| 
 |  | ||||||
|   config = lib.mkIf cfg.enable { |  | ||||||
|     # Enable driver |  | ||||||
|     services.fprintd = { |  | ||||||
|       enable = true; |  | ||||||
| 
 |  | ||||||
|       # Enable Touch OEM Drivers library support |  | ||||||
|       tod = { |  | ||||||
|         enable = true; |  | ||||||
|         # Dell drivers |  | ||||||
|         driver = pkgs.libfprint-2-tod1-broadcom; |  | ||||||
|       }; |  | ||||||
|     }; |  | ||||||
| 
 |  | ||||||
|     # Start driver at boot |  | ||||||
|     systemd.services.fprintd = { |  | ||||||
|       wantedBy = [ |  | ||||||
|         "multi-user.target" |  | ||||||
|       ]; |  | ||||||
|       serviceConfig.Type = "simple"; |  | ||||||
|     }; |  | ||||||
|   }; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
|  | @ -32,19 +32,15 @@ in { | ||||||
|           }; |           }; | ||||||
| 
 | 
 | ||||||
|           # Anything in about:config |           # Anything in about:config | ||||||
|           Preferences = let |           Preferences = { | ||||||
|             falseLocked = { |             "browser.newtabpage.activity-stream.showSponsoredCheckboxes" = { | ||||||
|               Value = false; |               Value = false; | ||||||
|               Status = "falseLocked"; |               Status = "locked"; | ||||||
|             }; |             }; | ||||||
|           in { |  | ||||||
|             "browser.newtabpage.activity-stream.showSponsoredCheckboxes" = falseLocked; |  | ||||||
|             "browser.newtabpage.activity-stream.showSponsoredTopSites" = falseLocked; |  | ||||||
|             "browser.newtabpage.pinned" = { |             "browser.newtabpage.pinned" = { | ||||||
|               Value = "[]"; |               Value = "[]"; | ||||||
|               Status = "default"; |               Status = "default"; | ||||||
|             }; |             }; | ||||||
|             "services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.showSponsoredTopSites" = falseLocked; |  | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -270,7 +270,23 @@ $lock = swaylock | ||||||
| 
 | 
 | ||||||
| source = /home/tdpeuter/.config/hypr/input-output.conf | source = /home/tdpeuter/.config/hypr/input-output.conf | ||||||
| source = /home/tdpeuter/.config/hypr/keybinds.conf | source = /home/tdpeuter/.config/hypr/keybinds.conf | ||||||
| source = /home/tdpeuter/.config/hypr/modes.conf | 
 | ||||||
|  | $mode_launcher = Launch (f)irefox, (t)hunderbird. | ||||||
|  | bind = $flag, O, submap, $mode_launcher | ||||||
|  | submap = $mode_launcher | ||||||
|  | 
 | ||||||
|  | bind = , F, exec,   firefox | ||||||
|  | bind = , F, submap, reset | ||||||
|  | bind = , T, exec,   thunderbird | ||||||
|  | bind = , T, submap, reset | ||||||
|  | bind = , Z, exec,   zen | ||||||
|  | bind = , Z, submap, reset | ||||||
|  | 
 | ||||||
|  | bind = $flag, O, submap, reset | ||||||
|  | bind = , Escape, submap, reset | ||||||
|  | bind = , Return, submap, reset | ||||||
|  | 
 | ||||||
|  | submap = reset | ||||||
| 
 | 
 | ||||||
| # https://wiki.hyprland.org/Nvidia/#environment-variables | # https://wiki.hyprland.org/Nvidia/#environment-variables | ||||||
| env = __GLX_VENDOR_LIBRARY_NAME,nvidia | env = __GLX_VENDOR_LIBRARY_NAME,nvidia | ||||||
|  |  | ||||||
|  | @ -59,7 +59,8 @@ bind = $flag+Shift, s, pin | ||||||
| bind = $flag+Shift, s, settiled | bind = $flag+Shift, s, settiled | ||||||
| 
 | 
 | ||||||
| bind = $flag, F11, fullscreen, 1 | bind = $flag, F11, fullscreen, 1 | ||||||
| bind = $flag+Shift, F11,      fullscreen, 0 | # bind = $flag, Prior, fullscreen, 1 | ||||||
|  | # bind = $flag, KP_Prior, fullscreen, 1 | ||||||
| 
 | 
 | ||||||
| # Workspaces | # Workspaces | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,38 +0,0 @@ | ||||||
| # System actions |  | ||||||
| $mode_system = System (l)ock, (s)leep, (h)ibernate, (r)eboot, (Shift+s)hutdown |  | ||||||
| bind = Ctrl+Alt, Delete, submap, $mode_system |  | ||||||
| submap = $mode_system |  | ||||||
| 
 |  | ||||||
| bind =      , l, exec, $lock |  | ||||||
| bind =      , l, submap, reset |  | ||||||
| bind =      , s, exec, $lock, exec, systemctl suspend |  | ||||||
| bind =      , s, submap, reset |  | ||||||
| bind =      , h, exec, $lock, exec, systemctl hibernate |  | ||||||
| bind =      , h, submap, reset |  | ||||||
| bind =      , r, exec, systemctl reboot |  | ||||||
| bind = Shift, s, exec, systemctl poweroff -i |  | ||||||
| 
 |  | ||||||
| bind = Ctrl+Alt, Delete, submap, reset |  | ||||||
| bind =         , Escape, submap, reset |  | ||||||
| bind =         , Return, submap, reset |  | ||||||
| 
 |  | ||||||
| submap = reset |  | ||||||
| 
 |  | ||||||
| # Launcher |  | ||||||
| $mode_launcher = Launch (f)irefox, (t)hunderbird. |  | ||||||
| bind = $flag, O, submap, $mode_launcher |  | ||||||
| submap = $mode_launcher |  | ||||||
| 
 |  | ||||||
| bind = , F, exec,   firefox |  | ||||||
| bind = , F, submap, reset |  | ||||||
| bind = , T, exec,   thunderbird |  | ||||||
| bind = , T, submap, reset |  | ||||||
| bind = , Z, exec,   zen |  | ||||||
| bind = , Z, submap, reset |  | ||||||
| 
 |  | ||||||
| bind = $flag, O, submap, reset |  | ||||||
| bind = , Escape, submap, reset |  | ||||||
| bind = , Return, submap, reset |  | ||||||
| 
 |  | ||||||
| submap = reset |  | ||||||
| 
 |  | ||||||
|  | @ -40,14 +40,11 @@ | ||||||
|             "sway/window", |             "sway/window", | ||||||
|             "group/workspaces", |             "group/workspaces", | ||||||
|             "custom/scratchpad-indicator", |             "custom/scratchpad-indicator", | ||||||
|             "group/mode" |  | ||||||
|         ], |         ], | ||||||
|         "modules-center": [ |         "modules-center": [ | ||||||
|             "mpris" |             "mpris" | ||||||
|         ], |         ], | ||||||
|         "modules-right": [ |         "modules-right": [ | ||||||
|             "keyboard-state#numlock", |  | ||||||
|             "keyboard-state#capslock", |  | ||||||
|             "privacy", |             "privacy", | ||||||
|             "tray", |             "tray", | ||||||
|             "group/control-center", |             "group/control-center", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue