Renamed dockge to Komodo

This commit is contained in:
Chris Toph 2024-09-27 18:32:10 -04:00
parent 27b416db5e
commit 3f34bb40d6
6 changed files with 18 additions and 92 deletions

View file

@ -0,0 +1,14 @@
[?25l    
  ▄▄ ▄▄▄  
  ▄ ▄▄▄▄▄▄▄▄ ▄  
 ▄▄▄ ▄▄▄▄ ▄  
 ▄▄▄ ▄▄▄▄▄▄ ▄▄   
 ▄ ▄▄ ▄▄▄▄▄▄▄ ▄ 
 ▄▄ ▄ ▄▄▄▄▄▄▄▄  
 ▄▄ ▄ ▄▄▄▄▄▄▄▄▄▄  
 ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  
 ▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄  
▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄  
  ▄▄ ▄▄  
  ▄▄▄▄▄  
[?25h

View file

@ -31,11 +31,11 @@
]; ];
}; };
dockge = lib.nixosSystem { komodo = lib.nixosSystem {
system = X86; system = X86;
modules = [ modules = [
./nix ./nix
./host/dockge ./host/komodo
]; ];
}; };
@ -87,8 +87,8 @@
modules = [ home ]; modules = [ home ];
}; };
"toph@dockge" = let "toph@komodo" = let
hostName = "dockge"; hostName = "komodo";
pkgs = x86Pkgs; pkgs = x86Pkgs;
home = ./. + "/host/${hostName}/home"; home = ./. + "/host/${hostName}/home";
in home-manager.lib.homeManagerConfiguration { in home-manager.lib.homeManagerConfiguration {

View file

@ -1,59 +0,0 @@
{ modulesPath, config, pkgs, ... }:
let
hostname = "cloud";
in {
## MODULES & IMPORTS ##
imports = [
# Common Modules
../../common/lxc
../../common/ssh
# Import hardware configuration.
./hardware.nix
# Local Modules
];
## NETWORKING ##
networking = {
firewall = {
allowedTCPPorts = [ 22 80 443 ];
allowedUDPPorts = [ ];
};
dhcpcd.enable = false;
hostName = hostname;
networkmanager.enable = true;
useDHCP = false;
useHostResolvConf = false;
};
systemd.network = {
enable = true;
networks."50-eth0" = {
matchConfig.Name = "eth0";
networkConfig = {
DHCP = "ipv4";
IPv6AcceptRA = true;
};
linkConfig.RequiredForOnline = "routable";
};
};
## ENVIORMENT & PACKAGES ##
environment.systemPackages = with pkgs; [
git
micro
openssh
ranger
sshfs
wget
];
environment.variables = {
HOSTNAME = hostname;
};
}

View file

@ -1,13 +0,0 @@
{
# Treats the system as a container.
boot.isContainer = true;
# TODO: SSHFS
# fileSystems."/" = {
# device = "/dev/sda1";
# fsType = "ext4";
# };
# Set your system kind (needed for flakes)
nixpkgs.hostPlatform = "x86_64-linux";
}

View file

@ -1,16 +0,0 @@
{ pkgs, ... }:
{
# Module imports
imports = [
# Common Modules
../../../common/home
];
home.packages = with pkgs; [
fastfetch
fish
fishPlugins.grc
fishPlugins.tide
grc
];
}