mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 12:00:14 +00:00
fixes for flame server
This commit is contained in:
@ -31,7 +31,7 @@ in
|
||||
# Create a home directory for human user
|
||||
isNormalUser = lib.mkDefault true;
|
||||
|
||||
extraGroups = lib.mkDefault [
|
||||
extraGroups = [
|
||||
"wheel" # Sudo privileges
|
||||
];
|
||||
};
|
||||
|
@ -21,7 +21,7 @@ in
|
||||
# Mouse customization
|
||||
services.ratbagd.enable = lib.mkDefault true;
|
||||
|
||||
environment.systemPackages = lib.mkDefault [
|
||||
environment.systemPackages = [
|
||||
pkgs.libratbag # Mouse adjustments
|
||||
pkgs.piper # Mouse adjustments GUI
|
||||
pkgs.ddcutil # Monitor brightness control
|
||||
@ -57,7 +57,7 @@ in
|
||||
|
||||
users.users.${username} = {
|
||||
# Grant main user access to external monitors
|
||||
extraGroups = lib.mkDefault [ "i2c" ];
|
||||
extraGroups = [ "i2c" ];
|
||||
|
||||
# Automatically create a password to start
|
||||
hashedPassword = lib.mkDefault (lib.fileContents ../../../../../misc/password.sha512);
|
||||
|
@ -16,7 +16,10 @@ in
|
||||
|
||||
networking.firewall.allowPing = lib.mkDefault true;
|
||||
|
||||
nmasur.presets.services.openssh.enable = lib.mkDefault true;
|
||||
nmasur.presets.services = {
|
||||
openssh.enable = lib.mkDefault true;
|
||||
restic.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
# Implement a simple fail2ban service for sshd
|
||||
services.sshguard.enable = lib.mkDefault true;
|
||||
|
Reference in New Issue
Block a user