refactor flake.nix and osConfig organization

This commit is contained in:
2025-02-09 03:02:57 +01:00
parent b61d654f08
commit a2037ffb56
19 changed files with 76 additions and 149 deletions

View File

@ -0,0 +1,10 @@
{ config, lib, inputs, pkgs, ... }:
{
programs.steam.enable=true;
programs.steam.protontricks.enable=true;
# environment.systemPackages = with pkgs; [ qemu quickemu];
# programs.virt-manager.enable = true;
# virtualisation.libvirtd.enable = true;
}

View File

@ -0,0 +1,11 @@
{ config, lib, inputs, pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
};
services.xserver.videoDrivers = ["nvidia"];
}

View File

@ -0,0 +1,6 @@
{ config, lib, inputs, pkgs, ... }:
{
virtualisation.virtualbox.host.enable = true;
users.users.tom.extraGroups = [ "vboxusers" ];
}

View File

@ -0,0 +1,14 @@
{ config, lib, inputs, pkgs, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
security.pam.yubico = {
enable = true;
id = "30536547";
mode = "challenge-response";
};
}