Compare commits

..

3 Commits

Author SHA1 Message Date
Øystein Tveit
cbec247a87 rebase 2024-11-24 03:21:26 +01:00
h7x4
78028846a9 WIP: gitea: init gpg signing key 2024-11-23 23:51:53 +01:00
h7x4
07777edafb secrets/bekkalokk: add signing subkey 2024-11-23 22:26:15 +01:00
3 changed files with 3 additions and 24 deletions

View File

@@ -1,18 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
services.smartd = { services.smartd.enable = lib.mkDefault true;
enable = lib.mkDefault true;
notifications = {
mail = {
enable = true;
sender = "root@pvv.ntnu.no";
recipient = "root@pvv.ntnu.no";
};
wall.enable = false;
};
};
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [ environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
smartmontools smartmontools
]); ]);
} }

View File

@@ -49,7 +49,7 @@
"ildkule" "ildkule"
]; ];
in { in {
inputs = nixlib.mapAttrs (_: src: src.outPath) inputs; inherit inputs;
nixosConfigurations = let nixosConfigurations = let
unstablePkgs = nixpkgs-unstable.legacyPackages.x86_64-linux; unstablePkgs = nixpkgs-unstable.legacyPackages.x86_64-linux;

View File

@@ -1,11 +0,0 @@
{ pkgs, ... }:
{
users.users.frero = {
isNormalUser = true;
extraGroups = [ "wheel" "drift" "nix-builder-users" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII09JbtSUMurvmHpJ7TmUQctXpNVhjFYhoJ3+1ZITmMx"
];
};
}