removing hm from server 3
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
username = "cnst";
|
username = "cnst";
|
||||||
mail = "adam@cnst.dev";
|
mail = "adam@cnst.dev";
|
||||||
sshUser = "bunk";
|
sshUser = "bunk";
|
||||||
|
role = "desktop";
|
||||||
};
|
};
|
||||||
monitors = [
|
monitors = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,12 +62,6 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./sobotka
|
./sobotka
|
||||||
"${self}/nix"
|
"${self}/nix"
|
||||||
# {
|
|
||||||
# home-manager = {
|
|
||||||
# users.cnst.imports = homeImports."cnst@sobotka";
|
|
||||||
# extraSpecialArgs = specialArgs;
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
self.nixosModules.nixos
|
self.nixosModules.nixos
|
||||||
self.nixosModules.settings
|
self.nixosModules.settings
|
||||||
self.nixosModules.server
|
self.nixosModules.server
|
||||||
@@ -79,12 +73,6 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./ziggy
|
./ziggy
|
||||||
"${self}/nix"
|
"${self}/nix"
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
users.cnst.imports = homeImports."cnst@ziggy";
|
|
||||||
extraSpecialArgs = specialArgs;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
self.nixosModules.nixos
|
self.nixosModules.nixos
|
||||||
self.nixosModules.settings
|
self.nixosModules.settings
|
||||||
self.nixosModules.server
|
self.nixosModules.server
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
username = "cnst";
|
username = "cnst";
|
||||||
mail = "adam@cnst.dev";
|
mail = "adam@cnst.dev";
|
||||||
sshUser = "kima";
|
sshUser = "kima";
|
||||||
|
role = "desktop";
|
||||||
};
|
};
|
||||||
monitors = [
|
monitors = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
username = "cnst";
|
username = "cnst";
|
||||||
mail = "adam@cnst.dev";
|
mail = "adam@cnst.dev";
|
||||||
sshUser = "sobotka";
|
sshUser = "sobotka";
|
||||||
|
role = "server";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
username = "toothpick";
|
username = "toothpick";
|
||||||
mail = "place@holder";
|
mail = "place@holder";
|
||||||
sshUser = "toothpc";
|
sshUser = "toothpc";
|
||||||
|
role = "desktop";
|
||||||
};
|
};
|
||||||
monitors = [
|
monitors = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
username = "cnst";
|
username = "cnst";
|
||||||
mail = "adam@cnst.dev";
|
mail = "adam@cnst.dev";
|
||||||
sshUser = "ziggy";
|
sshUser = "ziggy";
|
||||||
|
role = "server";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,5 +45,10 @@ in {
|
|||||||
default = null;
|
default = null;
|
||||||
description = "Optional override for selecting an SSH key by name";
|
description = "Optional override for selecting an SSH key by name";
|
||||||
};
|
};
|
||||||
|
role = mkOption {
|
||||||
|
type = types.enum ["desktop" "server"];
|
||||||
|
default = "desktop";
|
||||||
|
description = "Defines the system role (desktop or server).";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
accept-flake-config = false;
|
accept-flake-config = false;
|
||||||
# allow-import-from-derivation = true;
|
# allow-import-from-derivation = true;
|
||||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
flake-registry = "/etc/nix/registry.json";
|
flake-registry = "/etc/nix/registry.json";
|
||||||
|
|
||||||
# # for direnv GC roots
|
# # for direnv GC roots
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
{osConfig, ...}: let
|
{osConfig, ...}: let
|
||||||
hostSpecificImports =
|
hostSpecificImports =
|
||||||
if osConfig.networking.hostName == "sobotka"
|
if osConfig.networking.hostName == "bunk"
|
||||||
then [
|
|
||||||
./sobotkamod.nix
|
|
||||||
]
|
|
||||||
else if osConfig.networking.hostName == "bunk"
|
|
||||||
then [
|
then [
|
||||||
./bunkmod.nix
|
./bunkmod.nix
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
{osConfig, ...}: let
|
{osConfig, ...}: let
|
||||||
hostSpecificVariables =
|
hostSpecificVariables =
|
||||||
if osConfig.networking.hostName == "sobotka"
|
if osConfig.networking.hostName == "bunk"
|
||||||
then {
|
|
||||||
EDITOR = "hx";
|
|
||||||
TERM = "xterm-256color";
|
|
||||||
}
|
|
||||||
else if osConfig.networking.hostName == "bunk"
|
|
||||||
then {
|
then {
|
||||||
BROWSER = "zen";
|
BROWSER = "zen";
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
|
|||||||
Reference in New Issue
Block a user