From b1bd7dcda82cce51c52c6f20c3369f27f3cb0e1e Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 3 Aug 2025 21:05:21 +0200 Subject: [PATCH] Fixed some todos --- README.org | 5 +++-- iso/iso/default.nix | 7 ++++++- machines/fujin/minimal/default.nix | 2 ++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 3f26116..fb55b60 100644 --- a/README.org +++ b/README.org @@ -471,10 +471,11 @@ nix run github:nix-community/nixos-anywhere -- \ #+end_src * TODOs -- [ ] Update izanagi to include git by default. -- [ ] Add NetworkManager to the fujin-minimal configuration. +- [X] Update izanagi to include git by default. +- [X] Add NetworkManager to the fujin-minimal configuration. - [ ] Investigate and fix remaining issues with reverse proxy modules (NGINX, Caddy). - [ ] Troubleshoot and fix an issue that occurs when reloading the NixOS configuration remotely, which breaks the SSH pipe and requires entering the root password three times. + Seems like this can be fixed if we allow remote user, for example 'fujin', to execute switch without sudo, but claude gave strange code to implement this. Will need to look into it some time later - [ ] Investigate and resolve the issue where updating a user's password declaratively using a secret managed by =sops= failed after the initial installation. - [X] Refactor the =disko= configuration to make the disk device name (e.g., =/dev/sda=) a variable. This will avoid hardcoding the value and make the configuration more portable. You can provide drive name when installing with disko and then update disko-config. Example of install command src_bash[:exports code]{nix run github:nix-community/disko#disko-install -- --flake .#fujin-minimal --disk main /dev/nvme0n1} diff --git a/iso/iso/default.nix b/iso/iso/default.nix index 6d4a3da..811fd72 100644 --- a/iso/iso/default.nix +++ b/iso/iso/default.nix @@ -85,7 +85,12 @@ in { shell = pkgs.zsh; }; - environment.systemPackages = with pkgs; [ vim wget ripgrep ]; + environment.systemPackages = with pkgs; [ + vim + wget + ripgrep + git + ]; services.openssh = { enable = true; diff --git a/machines/fujin/minimal/default.nix b/machines/fujin/minimal/default.nix index bb0153e..a1d62c0 100644 --- a/machines/fujin/minimal/default.nix +++ b/machines/fujin/minimal/default.nix @@ -15,6 +15,8 @@ packages = with pkgs; [ ]; }; + networking.networkmanager.enable = true; + ### # Home Manger configuration ###