mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add profiles for all work host options
This commit is contained in:
parent
e15ab08adf
commit
36d97926e6
30 changed files with 891 additions and 403 deletions
13
profiles/nixos/amdcpu/default.nix
Normal file
13
profiles/nixos/amdcpu/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.swarselsystems.profiles.amdcpu = lib.mkEnableOption "is this a host with amd cpu";
|
||||
config = lib.mkIf config.swarselsystems.profiles.amdcpu {
|
||||
swarselsystems.modules = {
|
||||
optional = {
|
||||
amdcpu = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue