no nixondroid + deploy hugo
This commit is contained in:
20
flake.nix
20
flake.nix
@@ -28,9 +28,10 @@
|
||||
|
||||
hyper-base = rec {
|
||||
inherit system;
|
||||
user = "nx2";
|
||||
domain = "nx2.site";
|
||||
home = "/home/${user}/";
|
||||
user = "nx2";
|
||||
domain = "nx2.site";
|
||||
home = "/home/${user}/";
|
||||
webroot = "/var/lib/hugo/nx2site/public";
|
||||
};
|
||||
|
||||
pkgs = (import nixpkgs { inherit system config; }) // {
|
||||
@@ -38,13 +39,6 @@
|
||||
latest = import nixpkgs-latest { inherit system config; };
|
||||
version = "25.05";
|
||||
};
|
||||
pkgs64 = let
|
||||
system = "aarch64-linux";
|
||||
in import nixpkgs { inherit system config; } // {
|
||||
unstable = import nixpkgs-unstable { inherit system config; };
|
||||
latest = import nixpkgs-latest { inherit system config; };
|
||||
version = "24.05";
|
||||
};
|
||||
|
||||
nvidia-base = import ./flake-modules/nvidia.nix;
|
||||
secrets = import ./git-crypt/secrets.nix;
|
||||
@@ -69,10 +63,6 @@
|
||||
NxACE = make-nixos-system "NxACE" { enable = false; };
|
||||
NxWSL = make-nixos-wsl-system "NxWSL";
|
||||
};
|
||||
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
pkgs = pkgs64;
|
||||
modules = [ ./nix-on-droid.nix ];
|
||||
};
|
||||
|
||||
homeConfigurations = let
|
||||
make-home-configuration = host: user: nvidia-settings: home-manager.lib.homeManagerConfiguration {
|
||||
@@ -94,8 +84,6 @@
|
||||
"${hyper-base.user}@NxNORTH" = make-home-configuration "NxNORTH" hyper-base.user { enable = true; prime = false; };
|
||||
"${hyper-base.user}@NxACE" = make-home-configuration "NxACE" hyper-base.user { enable = false; };
|
||||
|
||||
"${hyper-base.user}@NxS23U" = make-shell-configuration "NxS23U" hyper-base.user;
|
||||
|
||||
"${hyper-base.user}@NxWSL" = make-shell-configuration "NxWSL" hyper-base.user;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user