From 62df8a3c8620b33ef6ebf2ffa11c675038193f11 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Mon, 23 Dec 2024 18:58:53 +0100 Subject: [PATCH] rename default -> darp8 --- flake.nix | 20 +++++++++++++------ hosts/{default => darp8}/configuration.nix | 0 .../hardware-configuration.nix | 0 hosts/{default => darp8}/home.nix | 1 + 4 files changed, 15 insertions(+), 6 deletions(-) rename hosts/{default => darp8}/configuration.nix (100%) rename hosts/{default => darp8}/hardware-configuration.nix (100%) rename hosts/{default => darp8}/home.nix (99%) diff --git a/flake.nix b/flake.nix index 76a5503..d6831e6 100644 --- a/flake.nix +++ b/flake.nix @@ -22,10 +22,6 @@ inputs.nixpkgs.follows = "hyprland"; }; ghostty = { - inputs = { - # nixpkgs-stable.follows = "nixpkgs"; - # nixpkgs-unstable.follows = "nixpkgs"; - }; url = "git+ssh://git@github.com/ghostty-org/ghostty"; }; }; @@ -37,11 +33,23 @@ in { nixosConfigurations = { - default = nixpkgs.lib.nixosSystem { + darp8 = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; modules = [ hyprland.nixosModules.default - ./hosts/default/configuration.nix + ./hosts/darp8/configuration.nix + { + environment.systemPackages = [ + ghostty.packages.x86_64-linux.default + ]; + } + ]; + }; + desktop = nixpkgs.lib.nixosSystem { + specialArgs = {inherit inputs;}; + modules = [ + hyprland.nixosModules.default + ./hosts/desktop/configuration.nix { environment.systemPackages = [ ghostty.packages.x86_64-linux.default diff --git a/hosts/default/configuration.nix b/hosts/darp8/configuration.nix similarity index 100% rename from hosts/default/configuration.nix rename to hosts/darp8/configuration.nix diff --git a/hosts/default/hardware-configuration.nix b/hosts/darp8/hardware-configuration.nix similarity index 100% rename from hosts/default/hardware-configuration.nix rename to hosts/darp8/hardware-configuration.nix diff --git a/hosts/default/home.nix b/hosts/darp8/home.nix similarity index 99% rename from hosts/default/home.nix rename to hosts/darp8/home.nix index 1c649e2..4e5225b 100644 --- a/hosts/default/home.nix +++ b/hosts/darp8/home.nix @@ -45,6 +45,7 @@ libsForQt5.polkit-kde-agent mpv nautilus + netbeans networkmanagerapplet nwg-look openvpn