From bb015fc2449e737c102687fd23d891e7737a9fda Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 29 Jun 2024 02:55:19 -0500 Subject: [PATCH] Add grablet --- flake.nix | 28 ++++++++++++++++++++++++++++ nixos/beefcake.nix | 3 --- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index e701c28..94a650c 100644 --- a/flake.nix +++ b/flake.nix @@ -283,6 +283,34 @@ ]; }; + grablet = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = with nixosModules; [ + common + + outputs.diskoConfigurations.standard + hardware.nixosModules.common-cpu-intel-kaby-lake + hardware.nixosModules.common-pc-laptopp-ssd + graphical-workstation + laptop + gaming + + ./nixos/thablet.nix + + { + home-manager.users.daniel = { + imports = with homeManagerModules; [ + iex + cargo + linux-desktop-environment-config + ]; + }; + + powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; + } + ]; + }; + thinker = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = with nixosModules; [ diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 279d7b8..b82c821 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -18,9 +18,6 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 networking.hostName = "beefcake"; imports = [ - ../modules/nixos/intel.nix - ../modules/nixos/fonts.nix - # TODO: break these modules out someday maybe? { # hardware