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, ... }:
let myArcan = pkgs.arcanPackages or pkgs.arcan;
in with lib; {
with lib; {
options = {
arcan = { enable = mkEnableOption "Enable Arcan/Durden desktop."; };
};
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 {
_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 =
[ ./hardware-configuration.nix ../../pkgs ../../configs/neomutt.nix ];
@ -96,17 +113,17 @@ in {
#kernelPackages = pkgs.linuxPackages;
};
sshFidoAgent.enable = true;
sshFidoAgent.enable = lib.mkDefault true;
nixManager = {
enable = true;
enable = lib.mkDefault true;
user = "qbit";
};
kde.enable = true;
jetbrains.enable = true;
kde.enable = lib.mkDefault true;
jetbrains.enable = lib.mkDefault true;
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.enable = lib.mkDefault true;
networking = {
hostName = "europa";