Merge pull request 'documentation: remove references to Icons for introductory material' (#1392) from a-kenji-rm/icon into main
This commit is contained in:
@@ -5,10 +5,6 @@
|
|||||||
In the `flake.nix` file:
|
In the `flake.nix` file:
|
||||||
|
|
||||||
- [x] set a unique `clanName`.
|
- [x] set a unique `clanName`.
|
||||||
- [ ] set `clanIcon` (optional)
|
|
||||||
- [ ] Set `machineIcon` per machine (optional)
|
|
||||||
|
|
||||||
These icons will be used by our future GUI.
|
|
||||||
|
|
||||||
=== "**buildClan**"
|
=== "**buildClan**"
|
||||||
|
|
||||||
@@ -16,16 +12,12 @@ These icons will be used by our future GUI.
|
|||||||
buildClan {
|
buildClan {
|
||||||
# Set a unique name
|
# Set a unique name
|
||||||
clanName = "Lobsters";
|
clanName = "Lobsters";
|
||||||
# Optional, a path to an image file
|
|
||||||
clanIcon = ./path/to/file;
|
|
||||||
# Should usually point to the directory of flake.nix
|
# Should usually point to the directory of flake.nix
|
||||||
directory = ./.;
|
directory = ./.;
|
||||||
|
|
||||||
machines = {
|
machines = {
|
||||||
jon = {
|
jon = {
|
||||||
# ...
|
# ...
|
||||||
# Optional, a path to an image file
|
|
||||||
clanCore.machineIcon = ./path/to/file;
|
|
||||||
};
|
};
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
@@ -40,14 +32,10 @@ These icons will be used by our future GUI.
|
|||||||
clan = {
|
clan = {
|
||||||
# Set a unique name
|
# Set a unique name
|
||||||
clanName = "Lobsters";
|
clanName = "Lobsters";
|
||||||
# Optional, a path to an image file
|
|
||||||
clanIcon = ./path/to/file;
|
|
||||||
|
|
||||||
machines = {
|
machines = {
|
||||||
jon = {
|
jon = {
|
||||||
# ...
|
# ...
|
||||||
# Optional, a path to an image file
|
|
||||||
clanCore.machineIcon = ./path/to/file;
|
|
||||||
};
|
};
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ Below is a guide on how to structure this in your flake.nix:
|
|||||||
# ... more modules
|
# ... more modules
|
||||||
];
|
];
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
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`
|
||||||
clan.networking.targetHost = pkgs.lib.mkDefault "root@jon";
|
clan.networking.targetHost = pkgs.lib.mkDefault "root@jon";
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
clan = clan-core.lib.buildClan {
|
clan = clan-core.lib.buildClan {
|
||||||
directory = self;
|
directory = self;
|
||||||
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
|
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
|
||||||
clanIcon = null; # Optional, a path to an image file
|
|
||||||
|
|
||||||
# Prerequisite: boot into the installer
|
# Prerequisite: boot into the installer
|
||||||
# See: https://docs.clan.lol/getting-started/installer
|
# See: https://docs.clan.lol/getting-started/installer
|
||||||
@@ -28,8 +27,6 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = system;
|
nixpkgs.hostPlatform = system;
|
||||||
|
|
||||||
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`
|
||||||
# If you change the hostname, you need to update this line to root@<new-hostname>
|
# If you change the hostname, you need to update this line to root@<new-hostname>
|
||||||
# This only works however if you have avahi running on your admin machine else use IP
|
# This only works however if you have avahi running on your admin machine else use IP
|
||||||
@@ -60,8 +57,6 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = system;
|
nixpkgs.hostPlatform = system;
|
||||||
|
|
||||||
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`
|
||||||
# If you change the hostname, you need to update this line to root@<new-hostname>
|
# If you change the hostname, you need to update this line to root@<new-hostname>
|
||||||
# This only works however if you have avahi running on your admin machine else use IP
|
# This only works however if you have avahi running on your admin machine else use IP
|
||||||
|
|||||||
Reference in New Issue
Block a user