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(global): get cooked i guess lol

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

+65 -14
+16
flake.lock
··· 174 174 "type": "github" 175 175 } 176 176 }, 177 + "lib": { 178 + "locked": { 179 + "lastModified": 1746925973, 180 + "narHash": "sha256-03BE0+8MEQ5hSU5+8OI24X7Rhn5GruYZr18KWAZ5Rzk=", 181 + "owner": "nix-community", 182 + "repo": "nixpkgs.lib", 183 + "rev": "f9077b977f4c06f04afdfcac722fa942dd25818c", 184 + "type": "github" 185 + }, 186 + "original": { 187 + "owner": "nix-community", 188 + "repo": "nixpkgs.lib", 189 + "type": "github" 190 + } 191 + }, 177 192 "nix": { 178 193 "inputs": { 179 194 "flake-parts": "flake-parts", ··· 334 349 "determinate": "determinate", 335 350 "flake-utils": "flake-utils", 336 351 "home-manager": "home-manager", 352 + "lib": "lib", 337 353 "nix-ld": "nix-ld", 338 354 "nixos-generators": "nixos-generators", 339 355 "nixos-hardware": "nixos-hardware",
+6 -1
flake.nix
··· 3 3 4 4 # try to be in-sync with the nix-channels 5 5 inputs = { 6 + # nixpkgs stdlib 7 + lib.url = "github:nix-community/nixpkgs.lib"; 8 + 6 9 # nixpkgs itself 7 10 nixpkgs.url = "https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/*.tar.gz"; 8 11 ··· 65 68 nix-ld, 66 69 flake-utils, 67 70 systems, 68 - nixos-generators 71 + nixos-generators, 72 + lib 69 73 }: 70 74 { 71 75 nixosConfigurations = { ··· 117 121 # - Locally: 118 122 # nix run home-manager/master -- switch --flake .#stellapent-cier 119 123 stellapent-cier = home-manager.lib.homeManagerConfiguration { 124 + inherit lib; 120 125 pkgs = nixpkgs.legacyPackages.x86_64-linux; 121 126 modules = [ 122 127 ./shared/home-manager/main.nix
+1 -1
hosts/stellapent-cier/configuration.nix
··· 112 112 ]; 113 113 }; 114 114 linger = true; 115 - uid = 1000; 115 + 116 116 }; 117 117 home-manager.users.gildedguy = import ./users/gildedguy.nix; 118 118 #programs.home-manager.enable = true; # allow home-manager to manage itself
+1
shared/home-manager/packages.nix
··· 75 75 openssl 76 76 unrar-wrapper 77 77 storj-uplink 78 + starship 78 79 oh-my-posh 79 80 ]; 80 81
+6 -1
shared/home-manager/shell.nix
··· 1 - { ... }: { 1 + { lib, ... }: { 2 2 # taken from https://github.com/andreijiroh-dev/dotfiles/blob/main/.config/aliases 3 3 home.shellAliases = { 4 4 signoff = "git commit --signoff"; ··· 111 111 112 112 programs.zsh = { 113 113 enable = true; 114 + }; 115 + 116 + programs.starship = { 117 + enable = true; 118 + settings = lib.importTOML ../../misc/starship.toml; 114 119 }; 115 120 }
+27 -2
shared/meta.nix
··· 1 1 # One Nix file to import all the base configs without cluttering the per-host 2 - # imports. 3 - { ... }: 2 + # imports, alongside a minimal base packages. 3 + { pkgs, ... }: 4 4 5 5 { 6 + # import configs first 6 7 imports = [ 7 8 ./meta-configs.nix 8 9 ./flatpak.nix ··· 11 12 ./networking.nix 12 13 ./systemd.nix 13 14 ./shells/bash.nix 15 + ]; 16 + 17 + # and then the base packages itself 18 + environment.systemPackages = with pkgs; [ 19 + # tmux and friendos 20 + byobu 21 + tmux 22 + htop 23 + btop 24 + 25 + # git tools 26 + gitFull 27 + 28 + # misc tools and utils 29 + curl 30 + wget 31 + nano 32 + neovim 33 + fastfetch 34 + jq 35 + 36 + # shell prompt customizations 37 + starship 38 + oh-my-posh # as backup lol 14 39 ]; 15 40 }
+1 -1
shared/server/cockpit.nix
··· 7 7 #allowed-origins = []; 8 8 }; 9 9 10 - system.nixos.tags = [ "with-cockpit" ]; 10 + system.nixos.tags = [ "cockpit" ]; 11 11 }
+5 -7
shared/server/devenv.nix
··· 20 20 glab 21 21 fjo 22 22 23 - # even more utils 24 - curl 25 - wget 26 - nano 27 - neovim 28 - fastfetch 23 + # other utils 24 + wakatime-cli 25 + doppler 26 + dotenvx 29 27 ]; 30 28 31 29 virtualisation = { ··· 59 57 services.qemuGuest.enable = true; 60 58 services.spice-vdagentd.enable = true; 61 59 62 - system.nixos.tags = [ "with-containers" "with-qemu" "with-devtools-enabled"]; 60 + system.nixos.tags = [ "containers-and-vms" "devtools"]; 63 61 }
+1 -1
shared/server/ssh.nix
··· 19 19 20 20 programs.mosh.enable = true; 21 21 22 - system.nixos.tags = [ "with-ssh" "with-mosh" ]; 22 + system.nixos.tags = [ "ssh" "mosh" ]; 23 23 }
+1
shared/shells/bash.nix
··· 9 9 }; 10 10 }; 11 11 starship = { 12 + package = pkgs.starship; 12 13 enable = true; 13 14 presets = [ 14 15 "nerd-font-symbols"