all repos

dotfiles @ bcc3176

i use rach linux btw
4 files changed, 17 insertions(+), 17 deletions(-)
nix: common shouldn't install pkgs; remove mugit.openFirewall; update flake
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-03-22 18:31:37 +0200
Authored at: 2026-03-22 00:05:57 +0200
Parent: 1e1920e
M nix/flake.lock
···
        68
        68
                 ]

      
        69
        69
               },

      
        70
        70
               "locked": {

      
        71
        
        -        "lastModified": 1771881364,

      
        72
        
        -        "narHash": "sha256-A5uE/hMium5of/QGC6JwF5TGoDAfpNtW00T0s9u/PN8=",

      
        
        71
        +        "lastModified": 1773889306,

      
        
        72
        +        "narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",

      
        73
        73
                 "owner": "nix-community",

      
        74
        74
                 "repo": "disko",

      
        75
        
        -        "rev": "a4cb7bf73f264d40560ba527f9280469f1f081c6",

      
        
        75
        +        "rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",

      
        76
        76
                 "type": "github"

      
        77
        77
               },

      
        78
        78
               "original": {

      ···
        242
        242
                 ]

      
        243
        243
               },

      
        244
        244
               "locked": {

      
        245
        
        -        "lastModified": 1772134357,

      
        246
        
        -        "narHash": "sha256-M0xBPKsVU9Spu/vwwlYmHmlMywte482uugv9192DQPw=",

      
        
        245
        +        "lastModified": 1774130688,

      
        
        246
        +        "narHash": "sha256-j+ZRZJlcgZxIg1zOqNDjy+rUhcRhmdOSh6slcyolVw4=",

      
        247
        247
                 "owner": "olexsmir",

      
        248
        248
                 "repo": "mugit",

      
        249
        
        -        "rev": "f03a67a4b3efcfc8797ea64aa3bd3bc5e5d745b5",

      
        
        249
        +        "rev": "8287e68ce6dd20094e2f7f9562d5378f9b97533f",

      
        250
        250
                 "type": "github"

      
        251
        251
               },

      
        252
        252
               "original": {

      ···
        257
        257
             },

      
        258
        258
             "nixpkgs": {

      
        259
        259
               "locked": {

      
        260
        
        -        "lastModified": 1772047000,

      
        261
        
        -        "narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=",

      
        
        260
        +        "lastModified": 1773964973,

      
        
        261
        +        "narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=",

      
        262
        262
                 "owner": "NixOS",

      
        263
        263
                 "repo": "nixpkgs",

      
        264
        
        -        "rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e",

      
        
        264
        +        "rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25",

      
        265
        265
                 "type": "github"

      
        266
        266
               },

      
        267
        267
               "original": {

      
M nix/hosts/thought/configuration.nix
···
        1
        
        -{ ... }: {

      
        
        1
        +{ pkgs, ... }: {

      
        2
        2
           imports = [

      
        3
        3
             ./digitalocean.nix

      
        4
        4
             ./disko-config.nix

      ···
        38
        38
               };

      
        39
        39
             };

      
        40
        40
           };

      
        
        41
        +

      
        
        42
        +  environment.systemPackages = with pkgs; [

      
        
        43
        +    git

      
        
        44
        +    htop

      
        
        45
        +    neovim

      
        
        46
        +  ];

      
        41
        47
         }

      
M nix/modules/common.nix
···
        14
        14
               experimental-features = [ "nix-command" "flakes" ];

      
        15
        15
             };

      
        16
        16
           };

      
        17
        
        -

      
        18
        
        -  environment.systemPackages = with pkgs; [

      
        19
        
        -    git

      
        20
        
        -    htop

      
        21
        
        -    neovim

      
        22
        
        -  ];

      
        23
        17
         }

      
M nix/modules/services/mugit.nix
···
        4
        4
           age.secrets.github-token = mkSec ../../secrets/github-token.age;

      
        5
        5
           age.secrets.mugit-host   = mkSec ../../secrets/mugit-host.age;

      
        6
        6
         

      
        
        7
        +  networking.firewall.allowedTCPPorts = [ 22 ];

      
        7
        8
           services.caddy.virtualHosts."git.olexsmir.xyz".extraConfig = ''

      
        8
        9
             reverse_proxy localhost:8008

      
        9
        10
           '';

      ···
        11
        12
           services.mugit = {

      
        12
        13
             enable = true;

      
        13
        14
             exposeCli = true;

      
        14
        
        -    openFirewall = true;

      
        15
        15
             config = {

      
        16
        16
               server.port = 8008;

      
        17
        17
               repo.dir = "/var/lib/mugit/";