harmonisation fichiers activation manuelle
parent
e0cd512f87
commit
6ff5e008a7
@ -1,16 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.r6d.config-generator;
|
||||
in {
|
||||
imports = [
|
||||
];
|
||||
computers = config.r6d.computers;
|
||||
profiles = config.r6d.profiles;
|
||||
|
||||
in mkIf cfg.docker {
|
||||
|
||||
environment.systemPackages = with pkgs; mkIf cfg.docker [
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Ecosystème Docker
|
||||
docker
|
||||
python27Packages.docker_compose
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = cfg.docker;
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
|
@ -1,16 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.r6d.config-generator;
|
||||
in {
|
||||
imports = [
|
||||
];
|
||||
computers = config.r6d.computers;
|
||||
profiles = config.r6d.profiles;
|
||||
|
||||
in mkIf cfg.virtualbox {
|
||||
|
||||
environment.systemPackages = with pkgs; mkIf cfg.virtualbox [
|
||||
environment.systemPackages = with pkgs; [
|
||||
linuxPackages.virtualbox
|
||||
linuxPackages.virtualboxGuestAdditions
|
||||
];
|
||||
|
||||
virtualisation.virtualbox.host.enable = cfg.virtualbox;
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
}
|
||||
|
||||
|
@ -1,18 +1,24 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.r6d.config-generator;
|
||||
in mkIf cfg.xmonad {
|
||||
# Paquets spécifiques pour un ordinateur portable
|
||||
computers = config.r6d.computers;
|
||||
profiles = config.r6d.profiles;
|
||||
|
||||
in mkIf cfg.xmonad {
|
||||
# Paquets spécifiques pour xmonad
|
||||
|
||||
environment.systemPackages = with pkgs;[
|
||||
dmenu
|
||||
haskellPackages.xmobar
|
||||
];
|
||||
|
||||
services.xserver.windowManager.xmonad.enable = true;
|
||||
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
|
||||
services.xserver.windowManager.xmonad.extraPackages = haskellPackages: [
|
||||
haskellPackages.xmobar
|
||||
];
|
||||
services.xserver.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
extraPackages = haskellPackages: [
|
||||
haskellPackages.xmobar
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue