Compare commits

...

4 Commits

4 changed files with 41 additions and 15 deletions

View File

@ -183,6 +183,11 @@
openssh.enable = true; openssh.enable = true;
}; };
systemd.services.fprintd = {
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
};
fonts = { fonts = {
packages = with pkgs; [ packages = with pkgs; [
font-awesome font-awesome
@ -301,8 +306,12 @@
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
pam.services = { pam.services = {
login.fprintAuth = true; sddm.fprintAuth = false; #Because of the bug with 30 seconds on sddm login
sudo.fprintAuth = true; sddm-autologin.fprintAuth = false; #Same as above
login.fprintAuth = false;
sudo.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
kscreenlocker.fprintAuth = true;
polkit-1.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
kde.fprintAuth = false; kde.fprintAuth = false;
hyprlock = {}; hyprlock = {};
}; };

View File

@ -19,7 +19,6 @@
#To reset powerlevel10k, write 'p10k configure' in shell! #To reset powerlevel10k, write 'p10k configure' in shell!
promptInit = '' promptInit = ''
source ${pkgs.zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
# Make and move the cursor on the command line, even when in the menu # Make and move the cursor on the command line, even when in the menu
@ -35,7 +34,6 @@
pkgs.zsh-completions pkgs.zsh-completions
pkgs.zsh-powerlevel10k pkgs.zsh-powerlevel10k
pkgs.zsh-syntax-highlighting pkgs.zsh-syntax-highlighting
pkgs.zsh-autocomplete
pkgs.zsh-autosuggestions pkgs.zsh-autosuggestions
]; ];
} }

View File

@ -8,6 +8,7 @@
#----- #-----
alias py="python3" alias py="python3"
alias mcrow="echo 'you better try to use nvim you little shit! :3'" alias mcrow="echo 'you better try to use nvim you little shit! :3'"
alias vi="nvim"
alias srcals="source $HOME/NixOS/other/aliases && echo 'Sourced Aliases ... successful!'" alias srcals="source $HOME/NixOS/other/aliases && echo 'Sourced Aliases ... successful!'"
alias please="sudo" alias please="sudo"
alias se="sudoedit" alias se="sudoedit"

View File

@ -6,18 +6,36 @@
overrideConfig = true; overrideConfig = true;
input.mice = [ input.mice = [
{ {
name = "Logitech Wireless Mouse"; name = "Logitech Wireless Mouse";
vendorId = "046d"; # 046D lowercase vendorId = "046d"; # 046D lowercase
productId = "4091"; # inner HID device, not the receiver (C534) productId = "4091"; # inner HID device, not the receiver (C534)
leftHanded = false; leftHanded = false;
#middleButtonEmulation = false; #middleButtonEmulation = false;
#naturalScroll = false; #naturalScroll = false;
#acceleration = -0.25; #acceleration = -0.25;
acceleration = 0; acceleration = 0;
accelerationProfile = "none"; accelerationProfile = "none";
scrollSpeed = 1.0; scrollSpeed = 1.0;
} }
{
name = "ROCCAT ROCCAT Kone Aimo 16K";
vendorId = "1e7d";
productId = "2e2c";
leftHanded = false;
acceleration = -1;
accelerationProfile = "none";
scrollSpeed = 1.0;
}
# {
# name = "ROCCAT ROCCAT Vulcan AIMO";
# vendorId = "1e7d";
# productId = "3098";
# leftHanded = false;
# acceleration = -1;
# accelerationProfile = "none";
# scrollSpeed = 1.0;
# }
]; ];
shortcuts = { shortcuts = {