From 38e54638a0a4a7943b5acf5ea0b243fe99f6ce36 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 10 Nov 2023 19:26:29 +1300 Subject: [PATCH] add: gpd micro-pc home.nix --- flake.nix | 11 +++++++++++ home/ooks/ooksmicro.nix | 11 ++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 52be66f..b53b725 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ packages = forEachSystem (pkgs: { live-buds-cli = pkgs.callPackage ./pkgs/live-buds-cli { }; }); + devShells = forEachSystem (pkgs: import ./shell.nix { inherit pkgs; }); formatter = forEachSystem (pkgs: pkgs.nixpkgs-fmt); @@ -54,6 +55,11 @@ modules = [ ./system/ookst480s/ookst480s.nix ]; specialArgs = { inherit inputs outputs; }; }; + # GPD Micro-PC + ooksmicro = lib.nixosSystem { + modules = [ ./system/ooksmicro/ooksmicro.nix ]; + specialArgs = { inherit inputs outputs; }; + }; }; homeConfigurations = { # X1 Carbon @@ -68,6 +74,11 @@ pkgs = pkgsFor.x86_64-linux; extraSpecialArgs = { inherit inputs outputs; }; }; + "ooks@ooksmicro" = lib.homeManagerConfiguration { + modules = [ ./home/ooks/ooksmicro.nix ]; + pkgs = pkgsFor.x86_64-linux; + extraSpecialArgs = { inherit inputs outputs; }; + }; }; }; } diff --git a/home/ooks/ooksmicro.nix b/home/ooks/ooksmicro.nix index 8afb094..f8816c9 100644 --- a/home/ooks/ooksmicro.nix +++ b/home/ooks/ooksmicro.nix @@ -2,10 +2,19 @@ { imports = [ - ./opt/desktop/hyprland + ./features/wayland/window-manager/hyprland ./base ]; + monitors = [{ + name = "eDP-1"; + width = 720; + height = 1280; + workspace = "1"; + primary = true; + transform = 3; + }]; + colorscheme = inputs.nix-colors.colorSchemes.gruvbox-dark-soft; } \ No newline at end of file