forked from stitchy/dotfiles
revert "scarab init" accidentally pushed to master
This reverts commit 40a8d3b711
.
This commit is contained in:
parent
97a6ae026e
commit
a6c4098a5c
2 changed files with 0 additions and 75 deletions
11
flake.nix
11
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; };
|
||||
|
|
|
@ -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";
|
||||
}
|
Loading…
Reference in a new issue