From 25130195eca3538ae4b343ecb46c597a9b928305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 6 Jan 2024 17:20:37 +0100 Subject: [PATCH] Remove currently unused configs Just to make transition to flakes easier. We'll restore them later, maybe. --- curacao_test/hm.nix | 12 ------------ curacao_usb/dk.nix | 2 -- curacao_usb/os.nix | 22 ---------------------- full/README.md | 6 ------ full/options.nix | 17 ----------------- full/os.nix | 10 ---------- hm/flake.nix | 29 +++++++++++++++++++++++++++++ pindakaas_sd/dk.nix | 2 -- pindakaas_sd/os.nix | 11 ----------- 9 files changed, 29 insertions(+), 82 deletions(-) delete mode 100644 curacao_test/hm.nix delete mode 100644 curacao_usb/dk.nix delete mode 100644 curacao_usb/os.nix delete mode 100644 full/README.md delete mode 100644 full/options.nix delete mode 100644 full/os.nix create mode 100644 hm/flake.nix delete mode 100644 pindakaas_sd/dk.nix delete mode 100644 pindakaas_sd/os.nix diff --git a/curacao_test/hm.nix b/curacao_test/hm.nix deleted file mode 100644 index b6f615d..0000000 --- a/curacao_test/hm.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ ... }: -{ - imports = [ - ../hm - ../curacao/options.nix - ]; - - home.username = "gnix"; - home.homeDirectory = "/home/gnix"; - - frogeye.desktop.nixGLIntel = true; -} diff --git a/curacao_usb/dk.nix b/curacao_usb/dk.nix deleted file mode 100644 index afcae03..0000000 --- a/curacao_usb/dk.nix +++ /dev/null @@ -1,2 +0,0 @@ -{ ... } @ args: -import ../dk/single_uefi_btrfs.nix (args // { id = "usb-Kingston_DataTraveler_3.0_E0D55EA57414F510489F0F1A-0:0"; name = "curacao_usb"; }) diff --git a/curacao_usb/os.nix b/curacao_usb/os.nix deleted file mode 100644 index 59d3b3d..0000000 --- a/curacao_usb/os.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ pkgs, config, ... }: -{ - imports = [ - ../os - ../curacao/options.nix - ../curacao/hardware.nix - ./dk.nix - ]; - - networking.hostName = "curacao_usb"; - - # It's a removable drive, so no touching EFI vars - # (quite a lot of stuff to set for that!) - boot.loader = { - efi.canTouchEfiVariables = false; - grub = { - efiInstallAsRemovable = true; - device = "nodev"; - }; - }; - -} diff --git a/full/README.md b/full/README.md deleted file mode 100644 index 0f087b5..0000000 --- a/full/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# full profile - -Fake configuration that contains everything I could ever need, -used for debugging. -Can't build a full system due to not having a filesystem / bootloader configuration, -build as a VM (without bootloader). diff --git a/full/options.nix b/full/options.nix deleted file mode 100644 index 3592025..0000000 --- a/full/options.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ ... }: -{ - frogeye = { - desktop.xorg = true; - dev = { - ansible = true; - c = true; - docker = true; - fpga = true; - perl = true; - php = true; - python = true; - }; - extra = true; - gaming = true; - }; -} diff --git a/full/os.nix b/full/os.nix deleted file mode 100644 index e74e854..0000000 --- a/full/os.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ ... }: -{ - imports = [ - ../os - ./options.nix - ]; - - # Create a different disk image depending on the architecture - networking.hostName = "${builtins.currentSystem}"; -} diff --git a/hm/flake.nix b/hm/flake.nix new file mode 100644 index 0000000..202e4c0 --- /dev/null +++ b/hm/flake.nix @@ -0,0 +1,29 @@ +{ + description = "Home Manager configuration of geoffrey"; + + inputs = { + # Specify the source of Home Manager and Nixpkgs. + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + homeConfigurations."geoffrey" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + + # Specify your home configuration modules here, for example, + # the path to your home.nix. + modules = [ ./. ]; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + }; + }; +} diff --git a/pindakaas_sd/dk.nix b/pindakaas_sd/dk.nix deleted file mode 100644 index 70de3ae..0000000 --- a/pindakaas_sd/dk.nix +++ /dev/null @@ -1,2 +0,0 @@ -{ ... } @ args: -import ../dk/single_uefi_btrfs.nix (args // { id = "mmc-SN32G_0xfb19ae99"; name = "pindakaas_sd"; }) diff --git a/pindakaas_sd/os.nix b/pindakaas_sd/os.nix deleted file mode 100644 index 75219ff..0000000 --- a/pindakaas_sd/os.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, config, ... }: -{ - imports = [ - ../os - ../pindakaas/options.nix - ../pindakaas/hardware.nix - ./dk.nix - ]; - - networking.hostName = "pindakaas_sd"; -}