From 5d06143fcca4c89771ff2c1ee7f2222bc51c7a52 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Wed, 22 Nov 2023 18:47:32 +0100 Subject: [PATCH] ... --- flake.nix | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/flake.nix b/flake.nix index 75dc3be..9307043 100644 --- a/flake.nix +++ b/flake.nix @@ -169,38 +169,15 @@ nixOnDroidConfigurations = rec { "phone" = inputs.nix-on-droid.lib.nixOnDroidConfiguration { modules = [ - #./users/me/headless.nix - ({ pkgs, ... }: { - environment.packages = with pkgs; [ - vim - openssh - ]; - system.stateVersion = "23.05"; - home-manager.extraSpecialArgs = { - inherit self; - hostname = "phone"; - #pkgs = old-nixpkgs.x86_64 - #pkgs = import inputs.old-nixpkgs { system = "aarch64-linux"; config = { - #allowUnfree = true; - #permittedInsecurePackages = [ - #"electron-24.8.6" - #]; - #}; }; - }; - home-manager.useGlobalPkgs = true; + ./hosts/phone/nix-on-droid.nix + ]; + }; + }; - home-manager.config = { - home.stateVersion = "22.11"; - home.file.".ssh/authorizedKeys".text = '' - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjgXf9S9hxjyph2EEFh1el0z4OUT9fMoFAaDanjiuKa me@main" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICWsqiz0gEepvPONYxqhKKq4Vxfe1h+jo11k88QozUch me@bitwarden" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAioUu4ow6k+OMjjLdzogiQM4ZEM3TNekGNasaSDzQQE me@phone" - ''; - imports = [ - #./users/common/home.nix - ]; - }; - }) + nixOnDroidConfigurations = rec { + "tab" = inputs.nix-on-droid.lib.nixOnDroidConfiguration { + modules = [ + ./hosts/tab/nix-on-droid.nix ]; }; };