NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: update configurations and dependencies

- Updated VSCode extensions recommendations in extensions.json.
- Enhanced commit message generation instructions in settings.json.
- Updated flake.lock with new package versions and URLs.
- Refined flake.nix for better package management and stability.
- Improved home-manager main.nix for portability and clarity.
- Expanded packages.nix with additional development tools and utilities.

Note that this commit log does not use generative AI for updating those files,
only Copilot Chat were involved in summarizing changes in this commit
via VS Code.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+83 -39
+2 -1
.vscode/extensions.json
··· 1 1 { 2 2 "recommendations": [ 3 3 "jnoortheen.nix-ide", 4 - "mads-hartmann.bash-ide-vscode" 4 + "mads-hartmann.bash-ide-vscode", 5 + "bbenoist.nix" 5 6 ] 6 7 }
+6 -1
.vscode/settings.json
··· 1 1 { 2 2 "git.alwaysSignOff": true, 3 - "scm.alwaysShowActions": true 3 + "scm.alwaysShowActions": true, 4 + "github.copilot.chat.commitMessageGeneration.instructions": [ 5 + { 6 + "text": "Use Conventional Commits format with a subject line under 50 characters (hard limit: 72) and a detailed body with lines under 72 characters." 7 + } 8 + ] 4 9 }
+32 -11
flake.lock
··· 19 19 "narHash": "sha256-pLPdfPlknXxnkljsLHKmKibbZewMaN7Nfo79dqis3RI=", 20 20 "rev": "ec91652ba6f5d21ef9f28fd60b79716322ec2645", 21 21 "revCount": 220, 22 + "lastModified": 1745884600, 23 + "narHash": "sha256-pLPdfPlknXxnkljsLHKmKibbZewMaN7Nfo79dqis3RI=", 24 + "rev": "ec91652ba6f5d21ef9f28fd60b79716322ec2645", 25 + "revCount": 220, 22 26 "type": "tarball", 27 + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.220%2Brev-ec91652ba6f5d21ef9f28fd60b79716322ec2645/01967ed7-23ec-700c-b6ef-9d4055bd1a3c/source.tar.gz" 23 28 "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.220%2Brev-ec91652ba6f5d21ef9f28fd60b79716322ec2645/01967ed7-23ec-700c-b6ef-9d4055bd1a3c/source.tar.gz" 24 29 }, 25 30 "original": { ··· 31 36 "flake": false, 32 37 "locked": { 33 38 "narHash": "sha256-6wM9stTRsVkei3N/GGBEXJGeljD3+hftM5sb6CD8Ck8=", 39 + "narHash": "sha256-6wM9stTRsVkei3N/GGBEXJGeljD3+hftM5sb6CD8Ck8=", 34 40 "type": "file", 41 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/macOS" 35 42 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/macOS" 36 43 }, 37 44 "original": { 38 45 "type": "file", 39 46 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/macOS" 47 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/macOS" 40 48 } 41 49 }, 42 50 "determinate-nixd-aarch64-linux": { 43 51 "flake": false, 44 52 "locked": { 53 + "narHash": "sha256-A699eCx6f3yLI+Y5s4d2e4FOCW2GdqDz/dqsDMZWXSo=", 45 54 "narHash": "sha256-A699eCx6f3yLI+Y5s4d2e4FOCW2GdqDz/dqsDMZWXSo=", 46 55 "type": "file", 47 56 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/aarch64-linux" 57 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/aarch64-linux" 48 58 }, 49 59 "original": { 50 60 "type": "file", 61 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/aarch64-linux" 51 62 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/aarch64-linux" 52 63 } 53 64 }, ··· 55 66 "flake": false, 56 67 "locked": { 57 68 "narHash": "sha256-umc2EwD0mvgjKnl3CHcSIoGLmWOdkDnktZrYSt1R1TE=", 69 + "narHash": "sha256-umc2EwD0mvgjKnl3CHcSIoGLmWOdkDnktZrYSt1R1TE=", 58 70 "type": "file", 71 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/x86_64-linux" 59 72 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/x86_64-linux" 60 73 }, 61 74 "original": { 62 75 "type": "file", 76 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/x86_64-linux" 63 77 "url": "https://install.determinate.systems/determinate-nixd/tag/v3.4.1/x86_64-linux" 64 78 } 65 79 }, ··· 179 193 ] 180 194 }, 181 195 "locked": { 182 - "lastModified": 1746134275, 183 - "narHash": "sha256-sxfY7TIP59o2hcueanoRAtg833PiNroZkQDwlKJxGvs=", 196 + "lastModified": 1745894335, 197 + "narHash": "sha256-m47zhftaod/oHOwoVT25jstdcVLhkrVGyvEHKjbnFHI=", 184 198 "owner": "nix-community", 185 199 "repo": "home-manager", 186 - "rev": "015f1913109d44c36e683b55f0e47e283b383caa", 200 + "rev": "1ad123239957d40e11ef66c203d0a7e272eb48aa", 187 201 "type": "github" 188 202 }, 189 203 "original": { ··· 207 221 "narHash": "sha256-/FkEcvE1kWTrF9wxXYT9rnn2JGExtLF4Rig3FGRrt5o=", 208 222 "rev": "282910bff298d3fcad99f77c373f3564820a6431", 209 223 "revCount": 20165, 224 + "lastModified": 1745880611, 225 + "narHash": "sha256-/FkEcvE1kWTrF9wxXYT9rnn2JGExtLF4Rig3FGRrt5o=", 226 + "rev": "282910bff298d3fcad99f77c373f3564820a6431", 227 + "revCount": 20165, 210 228 "type": "tarball", 229 + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.4.1/01967ecd-dad0-7ece-b19d-342cd7da9b88/source.tar.gz" 211 230 "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.4.1/01967ecd-dad0-7ece-b19d-342cd7da9b88/source.tar.gz" 212 231 }, 213 232 "original": { ··· 337 356 }, 338 357 "nixpkgs_2": { 339 358 "locked": { 340 - "lastModified": 1746064326, 341 - "narHash": "sha256-r7IZkN9NhK/IO9/J6D9ih2P1OXb67nr5HaQ1YAte18w=", 342 - "rev": "91bf6dffa21c7709607c9fdbf9a6acb44e7a0a5d", 343 - "revCount": 792487, 344 - "type": "tarball", 345 - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.792487%2Brev-91bf6dffa21c7709607c9fdbf9a6acb44e7a0a5d/01968e91-08d9-70ba-98c1-56860360443a/source.tar.gz" 359 + "lastModified": 1745804731, 360 + "narHash": "sha256-v/sK3AS0QKu/Tu5sHIfddiEHCvrbNYPv8X10Fpux68g=", 361 + "owner": "NixOS", 362 + "repo": "nixpkgs", 363 + "rev": "29335f23bea5e34228349ea739f31ee79e267b88", 364 + "type": "github" 346 365 }, 347 366 "original": { 348 - "type": "tarball", 349 - "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz" 367 + "owner": "NixOS", 368 + "ref": "nixpkgs-unstable", 369 + "repo": "nixpkgs", 370 + "type": "github" 350 371 } 351 372 }, 352 373 "root": {
+11 -8
flake.nix
··· 1 1 { 2 - description = "Andrei Jiroh's NixOS and home-manager configurations in one place, seperate from the dotfiles repo"; 2 + description = "Andrei Jiroh's NixOS and home-manager configurations (AKA declarative dotfiles) in one place"; 3 3 4 4 # try to be in-sync with the nix-channels 5 5 inputs = { 6 6 # nixpkgs itself 7 - nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz"; 7 + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 8 8 9 9 # home-manager 10 10 home-manager = { ··· 20 20 21 21 # Community Extras 22 22 nixos-hardware.url = "github:NixOS/nixos-hardware/master"; 23 - vscode-server.url = "github:nix-community/nixos-vscode-server"; 24 - vscode-server.inputs.nixpkgs.follows = "nixpkgs"; 23 + vscode-server = { 24 + url = "github:nix-community/nixos-vscode-server"; 25 + inputs.nixpkgs.follows = "nixpkgs"; 26 + }; 25 27 26 28 # flake utils 27 29 flake-utils.url = "github:numtide/flake-utils"; ··· 105 107 modules = [ 106 108 ./shared/home-manager/main.nix 107 109 { 108 - home.username = "gildedguy"; 109 - home.homeDirectory = "/home/gildedguy"; 110 - home.useUserPackages = true; 111 - home.useGlobalPkgs = true; 110 + home = { 111 + username = "gildedguy"; 112 + homeDirectory = "/home/gildedguy"; 113 + useGlobalPkgs = true; 114 + }; 112 115 } 113 116 ]; 114 117 };
+12 -11
shared/home-manager/main.nix
··· 2 2 # some home.{username,userDirectory} configs to ensure portability between 3 3 # hosts 4 4 5 - { config, pkgs, lib, ... }: 5 + { config, pkgs, lib, home-manager, ... }: 6 6 7 7 { 8 - # https://fnordig.de/til/nix/home-manager-allow-unfree.html 9 - #nixpkgs = { 10 - # config = { 11 - # allowUnfree = true; 12 - # # https://github.com/nix-community/home-manager/issues/2942 13 - # allowUnfreePredicate = (_: true); 14 - # }; 15 - #}; 16 - 17 8 imports = [ 18 9 ./packages.nix 19 10 ./git.nix 11 + ./shell.nix 20 12 ]; 13 + 14 + # https://fnordig.de/til/nix/home-manager-allow-unfree.html 15 + nixpkgs = { 16 + config = { 17 + allowUnfree = true; 18 + # https://github.com/nix-community/home-manager/issues/2942 19 + allowUnfreePredicate = (_: true); 20 + }; 21 + }; 21 22 22 23 # This value determines the Home Manager release that your configuration is 23 24 # compatible with. This helps avoid breakage when a new Home Manager release ··· 68 69 69 70 # Let Home Manager install and manage itself. 70 71 programs.home-manager.enable = true; 71 - 72 + 72 73 programs.vscode = { 73 74 enable = true; 74 75 package = pkgs.vscode;
+20 -7
shared/home-manager/packages.nix
··· 19 19 ## desktop apps ## 20 20 _1password-gui 21 21 firefoxpwa 22 + # imported from my nix profile list to avoid conflicts # 23 + kdePackages.krfb 24 + mysql-workbench 25 + remmina 26 + rpi-imager 22 27 23 28 ## devtools ## 24 - # https://httpie.io 25 - httpie 26 29 # https://devenv.sh 27 30 devenv 31 + # needed for devenv 32 + direnv 28 33 # https://cli.github.com 29 34 gh 30 35 glab 31 - gitlab-ci-ls 32 36 fjo 33 37 # bet we'll going to have a field day since Copilot is now available for free 34 38 # (this is seperate from the gh copilot extension for those asking) ··· 38 42 markdownlint-cli 39 43 # https://doppler.com 40 44 doppler 41 - # needed for devenv 42 - direnv 43 45 # https://developers.1password.com 44 46 _1password-cli 45 47 keychain # https://funtoo.org 46 48 gnupg 47 49 gpg-tui 50 + # imported from my nix profile list to avoid conflicts # 51 + gpgme 52 + jq 48 53 49 54 ## programming languages 55 + # js 50 56 deno 51 57 nodejs_22 58 + # python 52 59 python313 53 - #python312 54 60 pipx 55 61 pipenv 62 + # go + rust 63 + go 64 + rustup 56 65 57 66 # linters 58 67 shellcheck ··· 64 73 # https://github.com/alesbrelih/gitlab-ci-ls 65 74 gitlab-ci-ls 66 75 67 - # did we forget these? 76 + ## misc system utils and friends 77 + # https://httpie.io 78 + httpie 68 79 byobu 69 80 tmux 81 + openssl 82 + unrar-wrapper 70 83 ]; 71 84 }