adding first steps to cnixlab and some small fixes

This commit is contained in:
2025-03-22 06:03:07 +01:00
parent 488f075f74
commit 55ce423924
25 changed files with 868 additions and 180 deletions

View File

@@ -60,7 +60,7 @@ in {
};
}
(mkIf (host == "cnix") {
(mkIf (host == "cnixtop") {
programs.hyprland.settings = {
render = {
explicit_sync = 2;

View File

@@ -90,7 +90,7 @@ in {
};
}
(mkIf (host == "cnix") {
(mkIf (host == "cnixtop") {
programs.hyprland.settings = {
"$terminal" = "ghostty";
"$browser" = "zen";

View File

@@ -81,7 +81,7 @@ in {
];
};
}
(mkIf (host == "cnix") {
(mkIf (host == "cnixtop") {
programs.hyprland.settings.workspace = [
"name:1,monitor:DP-3"
"name:2,monitor:DP-3"

View File

@@ -21,7 +21,7 @@ in {
};
}
(mkIf (host == "cnix") {
(mkIf (host == "cnixtop") {
programs.hyprland.settings.exec-once = [
"uwsm app -- mullvad-vpn"
"uwsm app -- blueman-applet"

View File

@@ -12,7 +12,7 @@ in {
options = {
nixos.services.agenix = {
enable = mkEnableOption "Enables agenix system environment";
cnix.enable = mkOption {
cnixtop.enable = mkOption {
type = lib.types.bool;
default = false;
description = "Apply cnix agenix settings";
@@ -32,7 +32,7 @@ in {
config = mkIf cfg.enable {
age = mkMerge [
(mkIf cfg.cnix.enable {
(mkIf cfg.cnixtop.enable {
secrets = {
cnstssh.file = "${self}/secrets/cnstssh.age";
cnixssh.file = "${self}/secrets/cnixssh.age";