first commit

This commit is contained in:
smad
2025-10-22 16:59:40 +02:00
commit 35d822799b
29 changed files with 1623 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
programs.btop = {
enable = true;
settings = {
#color_theme = "gruvbox_dark_v2";
color_theme = "catppuccin_mocha.theme";
vim_keys = true;
};
};
}

View File

@@ -0,0 +1,7 @@
{
programs.tmux = {
enable = true;
prefix = "ö";
};
}

30
modules/nixos/amon.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "amon"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/asura.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "asura"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/baal.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "baal"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/belial.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "belial"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/gaap.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "gaap"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/ifrit.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "ifrit"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/mara.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "mara"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

30
modules/nixos/moloch.nix Normal file
View File

@@ -0,0 +1,30 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
networking.hostName = "moloch"; # Define your hostname.
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}

31
modules/nixos/smad.nix Normal file
View File

@@ -0,0 +1,31 @@
{config, pkgs, inputs, ...}:
{
users.users.smad = {
isNormalUser = true;
description = "superuser madrigal";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
packages = with pkgs; [
thunderbird
dmenu
];
};
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "smad";
services.prometheus.exporters.node = {
enable = true;
port = 9100;
enabledCollectors = [
"logind"
"systemd"
];
disabledCollectors = [ "textfile" ];
openFirewall = true;
firewallFilter = "-i br0 -p tcp -m tcp --dport 9100";
};
}