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.

chore: update configs as usual

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

+72 -43
+26 -22
.vscode/settings.json
··· 1 1 { 2 - "git.alwaysSignOff": 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 - ], 9 - "nix.serverSettings": { 10 - "flake": {"autoArchive": true, "nixpkgsInputName": "*"} 11 - }, 12 - "markdown.validate.enabled": true, 13 - "evenBetterToml.schema.associations": { 14 - "misc/nix/nix.user.conf": "https://raw.githubusercontent.com/nix-community/nixd/main/nixd/docs/nixd-schema.json", 15 - "misc/nix/nix.custom.conf": "https://raw.githubusercontent.com/nix-community/nixd/main/nixd/docs/nixd-schema.json" 16 - }, 17 - "evenBetterToml.taplo.configFile.path": ".taplo.toml", 18 - "nix.enableLanguageServer": true, 19 - "nix.serverPath": "nil", 20 - "[nix]": { 21 - "editor.insertSpaces": true, 22 - "editor.tabSize": 2, 23 - "editor.defaultFormatter": "jnoortheen.nix-ide" 2 + "git.alwaysSignOff": 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." 24 7 } 8 + ], 9 + "nix.serverSettings": { 10 + "flake": { 11 + "autoArchive": true, 12 + "nixpkgsInputName": "*", 13 + } 14 + }, 15 + "markdown.validate.enabled": true, 16 + "evenBetterToml.schema.associations": { 17 + "misc/nix/nix.user.conf": "https://raw.githubusercontent.com/nix-community/nixd/main/nixd/docs/nixd-schema.json", 18 + "misc/nix/nix.custom.conf": "https://raw.githubusercontent.com/nix-community/nixd/main/nixd/docs/nixd-schema.json" 19 + }, 20 + "evenBetterToml.taplo.configFile.path": ".taplo.toml", 21 + "nix.enableLanguageServer": true, 22 + "nix.serverPath": "nil", 23 + "[nix]": { 24 + "editor.defaultFormatter": "jnoortheen.nix-ide" 25 + }, 26 + "nix.formatterPath": "nixfmt", 27 + "editor.insertSpaces": true, 28 + "editor.tabSize": 2, 25 29 }
+1
hosts/stellapent-cier/broadcom.nix
··· 24 24 "broadcom-sta-6.30.223.271-57-6.16.8" 25 25 "broadcom-sta-6.30.223.271-59-6.17.7" 26 26 "broadcom-sta-6.30.223.271-59-6.18" 27 + "broadcom-sta-6.30.223.271-59-6.18.2" 27 28 ]; 28 29 }
+45 -21
shared/home-manager/git.nix
··· 1 - { pkgs, ... }: 1 + { config, lib, pkgs, ... }: 2 2 3 3 # Reference: https://mynixos.com/home-manager/options/programs.git and 4 4 # https://nix-community.github.io/home-manager/options.xhtml#opt-programs.git.enable ··· 10 10 lfs = { 11 11 enable = true; 12 12 }; 13 - settings.user = { 14 - name = "Andrei Jiroh Halili"; 15 - email = "ajhalili2006@andreijiroh.dev"; 13 + maintenance = { 14 + enable = true; 16 15 }; 16 + ignores = [ 17 + "*~" 18 + "*.swp" 19 + "*.tmp" 20 + "*.save" 21 + ".DS_Store" 22 + ".cache" 23 + "public/" 24 + "node_modules/" 25 + "data/" 26 + ".data/" 27 + "tmp/" 28 + "*.decrypted" 29 + ]; 17 30 signing = { 18 - key = "4D5E631758CB9CC45941B1CE67BFC91B3DA12BE8"; 31 + key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXuD3hJwInlcHs3wkXWAWNo8es3bPAd2e8ipjyqgGp2 @ajhalili2006's SSH key, circa 2022"; 19 32 signByDefault = true; 20 - }; 21 - settings.alias = { 22 - signoff = "commit --signoff"; 23 - amend = "commit -a --amend"; 24 - remotes = "remote -v"; 25 - root = "rev-parse --show-toplevel"; 26 - unstage = "restore --staged"; 27 - stats = "status"; 28 - co = "checkout"; 29 - switch-remote = "branch -u"; 30 - set-push-url = "remote set-url --push"; 31 - set-push-remote = "remote set-url --push"; 32 - set-remote-url = "remote set-url"; 33 - set-remote = "remote set-url"; 34 - hard = "reset --hard"; 35 - soft = "reset --soft"; 33 + format = "ssh"; 34 + signer = lib.mkIf ( 35 + (config.services.desktopManager.plasma6.enable or false) || 36 + (config.services.xserver.desktopManager.plasma5.enable or false) 37 + ) "${pkgs._1password-gui}/share/1password/op-ssh-sign"; 36 38 }; 37 39 settings = { 40 + user = { 41 + name = "Andrei Jiroh Halili"; 42 + email = "ajhalili2006@andreijiroh.dev"; 43 + }; 44 + 45 + alias = { 46 + signoff = "commit --signoff"; 47 + amend = "commit -a --amend"; 48 + remotes = "remote -v"; 49 + root = "rev-parse --show-toplevel"; 50 + unstage = "restore --staged"; 51 + stats = "status"; 52 + co = "checkout"; 53 + switch-remote = "branch -u"; 54 + set-push-url = "remote set-url --push"; 55 + set-push-remote = "remote set-url --push"; 56 + set-remote-url = "remote set-url"; 57 + set-remote = "remote set-url"; 58 + hard = "reset --hard"; 59 + soft = "reset --soft"; 60 + }; 61 + 38 62 format = { 39 63 signOff = true; 40 64 };