1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

Compare commits

...

3 Commits

Author SHA1 Message Date
xnm
33aa287e12 🔒 feat(security): replace sudo with sudo-rs
- Enable `sudo-rs` with wheel-only execution
- Disable legacy `sudo`
- Update AppArmor and U2F configs for `sudo-rs`
- Update Yubikey U2F auth for `sudo-rs`
2025-05-18 03:40:44 +03:00
xnm
952fb7f7c1 📦 ️feat(work): update developer tooling
- Add google-cloud-sdk and android-studio
- Reorganize package list ordering
2025-05-18 03:37:28 +03:00
xnm
98452f31a3 📦 ️feat(terminal): add dotenvx to system packages 2025-05-18 03:33:40 +03:00
4 changed files with 11 additions and 3 deletions

View File

@@ -10,6 +10,11 @@
# };
# Enable Security Services
security.sudo-rs = {
enable = true;
execWheelOnly = true;
};
security.sudo.enable = false;
users.users.root.hashedPassword = "!";
security.tpm2 = {
enable = true;
@@ -28,7 +33,7 @@
security.pam.services = {
login.enableAppArmor = true;
sshd.enableAppArmor = true;
sudo.enableAppArmor = true;
sudo-rs.enableAppArmor = true;
su.enableAppArmor = true;
greetd.enableAppArmor = true;
u2f.enableAppArmor = true;

View File

@@ -4,6 +4,7 @@
environment.systemPackages = with pkgs; [
file
upx
dotenvx
git
lazygit
delta

View File

@@ -4,12 +4,14 @@
environment.systemPackages = with pkgs; [
slack
aws-sam-cli
google-cloud-sdk
awscli2
ssm-session-manager-plugin
cargo-lambda
gnumake
cmake
redli
firebase-tools
redli
android-studio
];
}

View File

@@ -14,7 +14,7 @@
security.pam.services = {
greetd.u2fAuth = true;
sudo.u2fAuth = true;
sudo-rs.u2fAuth = true;
hyprlock.u2fAuth = true;
};