Added host option
This commit is contained in:
parent
d2cc6663e7
commit
751cb87d8d
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "c-clt-dsk01";
|
||||
|
||||
applications.common.enable = true;
|
||||
applications.alacritty.enable = false;
|
||||
applications.devenv.enable = false;
|
||||
|
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "p-th-rpi-01";
|
||||
|
||||
applications.common.enable = false;
|
||||
applications.alacritty.enable = false;
|
||||
applications.devenv.enable = false;
|
||||
|
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "ti-clt-dsk01";
|
||||
|
||||
applications.common.enable = true;
|
||||
applications.alacritty.enable = false;
|
||||
applications.devenv.enable = true;
|
||||
|
@ -11,11 +11,12 @@
|
||||
|
||||
settings = {
|
||||
hostname = "ti-clt-lpt01";
|
||||
display-manager = "cosmic-greeter";
|
||||
display-manager = "greetd";
|
||||
desktop-environments = {
|
||||
cosmic.enable = true;
|
||||
hyprland.enable = true;
|
||||
cosmic.enable = false;
|
||||
hyprland.enable = false;
|
||||
gnome.enable = false;
|
||||
niri.enable = true;
|
||||
};
|
||||
applications = {
|
||||
common.enable = true;
|
||||
|
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "ti-clt-lpt01";
|
||||
|
||||
applications.common.enable = true;
|
||||
applications.alacritty.enable = true;
|
||||
applications.devenv.enable = true;
|
||||
@ -45,6 +47,7 @@
|
||||
theming.stylix.theme = "da-one-ocean";
|
||||
|
||||
desktop-environments.hyprland.enable = false;
|
||||
desktop-environments.niri.enable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "ti-clt-tbl01";
|
||||
|
||||
applications.common.enable = true;
|
||||
applications.alacritty.enable = false;
|
||||
applications.devenv.enable = false;
|
||||
|
@ -13,6 +13,8 @@
|
||||
};
|
||||
|
||||
settings = {
|
||||
host = "v-th-ctr-01";
|
||||
|
||||
applications.common.enable = false;
|
||||
applications.alacritty.enable = false;
|
||||
applications.devenv.enable = false;
|
||||
|
@ -1,6 +1,13 @@
|
||||
{ inputs, outputs, config, lib, ... }:
|
||||
|
||||
{
|
||||
options = {
|
||||
settings.host = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Hostname";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./applications/alacritty.nix
|
||||
./applications/common.nix
|
||||
|
@ -37,7 +37,7 @@ in {
|
||||
programs.niri.enable = true;
|
||||
programs.niri.package = pkgs.unstable.niri;
|
||||
|
||||
programs.niri.settings.outputs = {
|
||||
programs.niri.settings.outputs = lib.mkIf (config.settings.host == "ti-clt-dsk01") {
|
||||
"HDMI-A-1".position = {
|
||||
x = 1920;
|
||||
y = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user