From a6c4098a5c3b70578d56d82f731db38c84b243f3 Mon Sep 17 00:00:00 2001 From: stitchy Date: Fri, 3 May 2024 09:29:43 +0000 Subject: [PATCH] revert "scarab init" accidentally pushed to master This reverts commit 40a8d3b711306f2102fab323101a8b795db18310. --- flake.nix | 11 ------- hosts/scarab/default.nix | 64 ---------------------------------------- 2 files changed, 75 deletions(-) delete mode 100644 hosts/scarab/default.nix diff --git a/flake.nix b/flake.nix index cc51ece..527b9f2 100644 --- a/flake.nix +++ b/flake.nix @@ -29,17 +29,6 @@ } ]; }; - scarab = nixpkgs.lib.nixosSystem { - system = "aarch64-linux"; - modules = [ - { _module.args = { inherit inputs; }; } - (import "${inputs.mobile-nixos}/lib/configuration.nix" { - device = "oneplus-enchilada"; - }) - ./packages/default.nix - ./hosts/scarab/default.nix - ]; - }; lappy = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; diff --git a/hosts/scarab/default.nix b/hosts/scarab/default.nix deleted file mode 100644 index f63b472..0000000 --- a/hosts/scarab/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ config, lib, pkgs, ... }: -let - - defaultUserName = "nixos"; - -in -{ - imports = [ ../default.nix ]; - - users.users."${defaultUserName}" = { - isNormalUser = true; - password = "1234"; - extraGroups = [ - "dialout" - "feedbackd" - "networkmanager" - "video" - "wheel" - ]; - }; - - mobile = { - beautification = { - silentBoot = lib.mkDefault true; - splash = lib.mkDefault true; - }; - boot.stage-1 = { - kernel.useStrictKernelConfig = true; - networking.enable = true; - }; - }; - - services.openssh.enable = true; - #services.pipewire = { - # enable = true; - # pulse.enable = true; - #}; - services.xserver.desktopManager.phosh = { - enable = true; - user = defaultUserName; - group = "users"; - }; - - #services.xserver.desktopManager.plasma5 = { - # enable = true; - # mobile.enable = true; - #}; - - programs.firefox.enable = true; - programs.calls.enable = true; - - hardware = { - bluetooth.enable = true; - sensor.iio.enable = true; - }; - - networking.networkmanager.unmanaged = [ "rndis0" "usb0" ]; - - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "oneplus-sdm845-firmware" - "oneplus-sdm845-firmware-xz" - ]; - system.stateVersion = "23.11"; -}