europa: add specialization for fun \o/

This commit is contained in:
Aaron Bieber 2023-07-05 05:53:26 -06:00
parent b84e241737
commit 1a64ee07aa
No known key found for this signature in database
3 changed files with 25 additions and 9 deletions

View File

@ -1,11 +1,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let myArcan = pkgs.arcanPackages or pkgs.arcan; with lib; {
in with lib; {
options = { options = {
arcan = { enable = mkEnableOption "Enable Arcan/Durden desktop."; }; arcan = { enable = mkEnableOption "Enable Arcan/Durden desktop."; };
}; };
config = mkIf config.arcan.enable { config = mkIf config.arcan.enable {
environment.systemPackages = with pkgs; [ myArcan.all-wrapped ]; environment.systemPackages = with pkgs; [ arcanPackages.all-wrapped ];
}; };
} }

View File

@ -33,6 +33,23 @@ let
in { in {
_module.args.isUnstable = true; _module.args.isUnstable = true;
specialisation = {
arcan = {
configuration = {
system.nixos.tags = [ "arcan" ];
kde.enable = false;
sshFidoAgent.enable = false;
nixManager = { enable = false; };
jetbrains.enable = false;
programs = { };
virtualisation.libvirtd.enable = false;
};
};
};
imports = imports =
[ ./hardware-configuration.nix ../../pkgs ../../configs/neomutt.nix ]; [ ./hardware-configuration.nix ../../pkgs ../../configs/neomutt.nix ];
@ -96,17 +113,17 @@ in {
#kernelPackages = pkgs.linuxPackages; #kernelPackages = pkgs.linuxPackages;
}; };
sshFidoAgent.enable = true; sshFidoAgent.enable = lib.mkDefault true;
nixManager = { nixManager = {
enable = true; enable = lib.mkDefault true;
user = "qbit"; user = "qbit";
}; };
kde.enable = true; kde.enable = lib.mkDefault true;
jetbrains.enable = true; jetbrains.enable = lib.mkDefault true;
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = lib.mkDefault true;
networking = { networking = {
hostName = "europa"; hostName = "europa";