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