refactor flake.nix and osConfig organization
This commit is contained in:
10
osConfigs/modules/game.nix
Normal file
10
osConfigs/modules/game.nix
Normal 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;
|
||||
}
|
11
osConfigs/modules/nvidia.nix
Normal file
11
osConfigs/modules/nvidia.nix
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
}
|
6
osConfigs/modules/vboxHost.nix
Normal file
6
osConfigs/modules/vboxHost.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.users.tom.extraGroups = [ "vboxusers" ];
|
||||
}
|
14
osConfigs/modules/yubikey.nix
Normal file
14
osConfigs/modules/yubikey.nix
Normal 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";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user