1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-01-18 17:25:41 +01:00
parent e0f1f5b6fb
commit e4ef84b32e
No known key found for this signature in database
24 changed files with 131 additions and 189 deletions

View file

@ -1,15 +0,0 @@
{
config,
lib,
...
}: {
age.secrets = lib.mkSecrets {"user-guest" = {};};
users.users.guest = {
description = "Guest";
uid = 1001;
isNormalUser = true;
hashedPasswordFile = config.age.secrets."user-guest".path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
};
}

View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = [
pkgs.distrobox
];
}

View file

@ -0,0 +1,5 @@
{config, ...}: {
virtualisation.docker.enable = true;
users.groups.docker.members = config.users.normalUsers;
}

View file

@ -0,0 +1,25 @@
{
inputs,
modulesPath,
...
}: {
imports = [
"${modulesPath}/installer/scan/not-detected.nix"
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-amd
inputs.hardware.nixosModules.common-pc-laptop-ssd
inputs.hardware.nixosModules.lenovo-thinkpad
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
kernelModules = [];
};
kernelModules = ["kvm-amd"];
extraModulePackages = [];
};
}

View file

@ -0,0 +1,3 @@
{
system.stateVersion = "24.11";
}