template: remove system

This commit is contained in:
Johannes Kirschbauer
2024-04-13 16:00:01 +02:00
parent fa5058bce4
commit d021b2fb34
3 changed files with 6 additions and 4 deletions

View File

@@ -24,6 +24,8 @@
./machines/jon/hardware-configuration.nix ./machines/jon/hardware-configuration.nix
]; ];
nixpkgs.hostPlatform = system;
clanCore.machineIcon = null; # Optional, a path to an image file clanCore.machineIcon = null; # Optional, a path to an image file
# Set this for clan commands use ssh i.e. `clan machines update` # Set this for clan commands use ssh i.e. `clan machines update`
@@ -43,9 +45,11 @@
imports = [ imports = [
./modules/shared.nix ./modules/shared.nix
./machines/sara/configuration.nix ./machines/sara/configuration.nix
./machines/jon/hardware-configuration.nix ./machines/sara/hardware-configuration.nix
]; ];
nixpkgs.hostPlatform = system;
clanCore.machineIcon = null; # Optional, a path to an image file clanCore.machineIcon = null; # Optional, a path to an image file
# Set this for clan commands use ssh i.e. `clan machines update` # Set this for clan commands use ssh i.e. `clan machines update`

View File

@@ -1,6 +1,5 @@
{ ... }: { ... }:
{ {
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = [
# IMPORTANT! Add your SSH key here # IMPORTANT! Add your SSH key here
# e.g. > cat ~/.ssh/id_ed25519.pub # e.g. > cat ~/.ssh/id_ed25519.pub

View File

@@ -1,9 +1,8 @@
{clan-core, system, ...}: {clan-core, ...}:
{ {
imports = [ imports = [
clan-core.clanModules.sshd clan-core.clanModules.sshd
clan-core.clanModules.diskLayouts clan-core.clanModules.diskLayouts
clan-core.clanModules.root-password clan-core.clanModules.root-password
]; ];
nixpkgs.hostPlatform = system;
} }