Do not install sway on neelix.
This commit is contained in:
parent
9d49eb9d6a
commit
d0c1bb1b65
@ -27,4 +27,6 @@
|
||||
|
||||
me.graphical = true;
|
||||
me.graphicsCardType = "intel";
|
||||
|
||||
me.kodi.enable = true;
|
||||
}
|
||||
|
@ -31,4 +31,6 @@
|
||||
|
||||
me.graphical = true;
|
||||
me.graphicsCardType = "amd";
|
||||
|
||||
me.sway.enable = true;
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
imports = [ ];
|
||||
|
||||
options.me = {
|
||||
blank.enabled = lib.mkOption {
|
||||
blank.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
@ -17,7 +17,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.me.blank.enabled (
|
||||
config = lib.mkIf config.me.blank.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -9,7 +9,7 @@
|
||||
imports = [ ];
|
||||
|
||||
options.me = {
|
||||
kodi.enabled = lib.mkOption {
|
||||
kodi.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
@ -17,13 +17,17 @@
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.me.kodi.enabled (
|
||||
config = lib.mkIf config.me.kodi.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
}
|
||||
(lib.mkIf config.me.graphical {
|
||||
users.extraUsers.kodi.isNormalUser = true;
|
||||
services.cage.user = "kodi";
|
||||
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
|
||||
services.cage.enable = true;
|
||||
})
|
||||
]
|
||||
);
|
||||
|
@ -267,7 +267,7 @@ in
|
||||
];
|
||||
|
||||
options.me = {
|
||||
sway.enabled = lib.mkOption {
|
||||
sway.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
@ -286,7 +286,7 @@ in
|
||||
description = "List of packages to import as sway configs.";
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
environment.systemPackages = with pkgs; [
|
||||
alacritty
|
||||
pcmanfm
|
||||
|
@ -19,7 +19,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf config.me.graphical {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
me.swayIncludes = [
|
||||
force_focus_sway_config
|
||||
];
|
||||
|
@ -16,7 +16,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf (config.me.buildingIso) {
|
||||
config = lib.mkIf (config.me.buildingIso && config.me.graphical && config.me.sway.enable) {
|
||||
# Launch a terminal at boot in the live ISO for when hotkeys don't work.
|
||||
me.swayIncludes = [
|
||||
launch_terminal
|
||||
|
@ -25,7 +25,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf config.me.graphical {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
me.swayIncludes = [
|
||||
lockscreen_sway_config
|
||||
];
|
||||
|
@ -24,7 +24,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf config.me.graphical {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
me.swayIncludes = [
|
||||
notification_sway_config
|
||||
];
|
||||
|
@ -17,7 +17,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf config.me.graphical {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
me.swayIncludes = [
|
||||
rofimoji_sway_config
|
||||
];
|
||||
|
@ -34,7 +34,7 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = lib.mkIf config.me.graphical {
|
||||
config = lib.mkIf (config.me.graphical && config.me.sway.enable) {
|
||||
me.swayIncludes = [
|
||||
screenshot_sway_config
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user