diff options
-rw-r--r-- | flake.nix | 6 | ||||
-rw-r--r-- | user/server.nix | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 06377fee..4d30aaf4 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,8 @@ darwinPkgs = nixpkgs.legacyPackages.${darwinSystem}; nixosSystem = "x86_64-linux"; nixosPkgs = nixpkgs.legacyPackages.${nixosSystem}; + aarch64LinuxSystem = "aarch64-linux"; + aarch64LinuxPackages = nixpkgs.legacyPackages.${aarch64LinuxSystem}; in { nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; @@ -47,5 +49,9 @@ modules = [./user/prefect.nix (secrets + "/default.nix") ({ nixpkgs.overlays = [emacs-overlay.overlay]; })]; }; + homeConfigurations."alan@NanoPi.lan" = home-manager.lib.homeManagerConfiguration { + pkgs = aarch64LinuxPackages; + modules = [./user/server.nix]; + }; }; } diff --git a/user/server.nix b/user/server.nix index 61eb38c4..7a2f0cc9 100644 --- a/user/server.nix +++ b/user/server.nix @@ -10,7 +10,13 @@ with lib; { ./settings/git.nix ./settings/nix.nix ./settings/nixos.nix + ./settings/music-management.nix ./settings/zsh.nix ]; - home.sessionVariables.EDITOR = "${getBin config.programs.neovim.finalPackage}/bin/neovim"; + home = { + username = "alan"; + sessionVariables.EDITOR = "${config.programs.neovim.finalPackage}/bin/nvim"; + homeDirectory = "/mnt/internal/home/alan"; + stateVersion = "22.11"; + }; } |