From 3f34bb40d66e71bbe4a0747545c7b67c1371b56a Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Fri, 27 Sep 2024 18:32:10 -0400 Subject: [PATCH] Renamed dockge to Komodo --- common/fastfetch/host/dockge.txt | 0 common/fastfetch/host/komodo.txt | 14 ++++++++ flake.nix | 8 ++--- host/dockge/default.nix | 59 -------------------------------- host/dockge/hardware.nix | 13 ------- host/dockge/home/default.nix | 16 --------- 6 files changed, 18 insertions(+), 92 deletions(-) delete mode 100644 common/fastfetch/host/dockge.txt create mode 100644 common/fastfetch/host/komodo.txt delete mode 100644 host/dockge/default.nix delete mode 100644 host/dockge/hardware.nix delete mode 100644 host/dockge/home/default.nix diff --git a/common/fastfetch/host/dockge.txt b/common/fastfetch/host/dockge.txt deleted file mode 100644 index e69de29..0000000 diff --git a/common/fastfetch/host/komodo.txt b/common/fastfetch/host/komodo.txt new file mode 100644 index 0000000..034f7f9 --- /dev/null +++ b/common/fastfetch/host/komodo.txt @@ -0,0 +1,14 @@ +[?25l     +   â–„â–„ â–„â–„â–„   +   â–„ â–„â–„â–„â–„â–„â–„â–„â–„ â–„   +  â–„â–„â–„ â–„â–„â–„â–„ â–„   +  â–„â–„â–„ â–„â–„â–„â–„â–„â–„ â–„â–„    +  â–„ â–„â–„ â–„â–„â–„â–„â–„â–„â–„ â–„  +  â–„â–„ â–„ â–„â–„â–„â–„â–„â–„â–„â–„   +  â–„â–„ â–„ â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„   +  â–„ â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„   +  â–„â–„â–„ â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„   + â–„ â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ â–„   +   â–„â–„ â–„â–„   +   â–„â–„â–„â–„â–„   +[?25h \ No newline at end of file diff --git a/flake.nix b/flake.nix index aa24a98..7be74bb 100644 --- a/flake.nix +++ b/flake.nix @@ -31,11 +31,11 @@ ]; }; - dockge = lib.nixosSystem { + komodo = lib.nixosSystem { system = X86; modules = [ ./nix - ./host/dockge + ./host/komodo ]; }; @@ -87,8 +87,8 @@ modules = [ home ]; }; - "toph@dockge" = let - hostName = "dockge"; + "toph@komodo" = let + hostName = "komodo"; pkgs = x86Pkgs; home = ./. + "/host/${hostName}/home"; in home-manager.lib.homeManagerConfiguration { diff --git a/host/dockge/default.nix b/host/dockge/default.nix deleted file mode 100644 index 5f08cbc..0000000 --- a/host/dockge/default.nix +++ /dev/null @@ -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; - }; -} diff --git a/host/dockge/hardware.nix b/host/dockge/hardware.nix deleted file mode 100644 index fff62ff..0000000 --- a/host/dockge/hardware.nix +++ /dev/null @@ -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"; -} \ No newline at end of file diff --git a/host/dockge/home/default.nix b/host/dockge/home/default.nix deleted file mode 100644 index 492f4d1..0000000 --- a/host/dockge/home/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ pkgs, ... }: -{ - # Module imports - imports = [ - # Common Modules - ../../../common/home - ]; - - home.packages = with pkgs; [ - fastfetch - fish - fishPlugins.grc - fishPlugins.tide - grc - ]; -} \ No newline at end of file