feat: gpg stuff

This commit is contained in:
Noa Aarts 2024-08-23 21:42:46 +02:00
parent d4a278f7ff
commit 031ceb122f
7 changed files with 26 additions and 15 deletions

View file

@ -139,7 +139,7 @@
noa = {
isNormalUser = true;
description = "Noa Aarts";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = [ "networkmanager" "wheel" "docker" "wireshark" ];
hashedPassword = "$6$rounds=512400$Zip3xoK2zcoR4qEL$N13YTHO5tpWfx2nKb1sye.ZPwfoRtMQ5f3YrMZqKzzoFoSSHHJ.l5ulCEa9HygFxZmBtPnwlseFEtl8ERnwF50";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFemc4Pzp7I0y8FHxgRO/c/ReBmXuqXR6CWqbhiQ+0t noa@Noas_flaptop"
@ -190,6 +190,8 @@
nix-ld.libraries = with pkgs; [
wayland
];
wireshark.enable = true;
};
modules = {

View file

@ -33,7 +33,7 @@
enable = true;
git = {
name = "Noa Aarts";
email = "itepastra@gmail.com";
email = "noa@voorwaarts.nl";
};
};
};

View file

@ -39,8 +39,8 @@
apps = {
enable = true;
git = {
name = "Noa Auto";
email = "itepastra@gmail.com";
name = "Noa Aarts";
email = "noa@voorwaarts.nl";
};
};
};

View file

@ -65,11 +65,13 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
sddm
git
zsh
];
environment = {
systemPackages = with pkgs; [
sddm
git
zsh
];
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
@ -80,9 +82,14 @@
# };
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.KbdInteractiveAuthentication = false;
services = {
openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
};
programs.zsh.enable = true;
home-manager = {

View file

@ -40,14 +40,14 @@
# Programming langs
go
nodejs
factorio-headless
factorio-headless
];
modules = {
apps.git = {
enable = true;
name = "Noa Aarts";
email = "itepastra@gmail.com";
email = "noa@voorwaarts.nl";
};
apps.zsh.enable = true;
};