europa: add specialization for fun \o/
This commit is contained in:
parent
b84e241737
commit
1a64ee07aa
@ -80,7 +80,7 @@ in with lib; {
|
||||
|
||||
systemd.services = lib.listToAttrs (builtins.map xinlib.jobToService jobs);
|
||||
|
||||
services.cron = prIsOpen.option 238971 {
|
||||
services.cron = prIsOpen.option 238971 {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"0 0 * * * systemctl start xin-ci-update"
|
||||
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user