Compare commits

..

3 Commits

Author SHA1 Message Date
jolheiser 1939f193eb
build: add nom and fetch
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-05-29 22:24:52 -05:00
jolheiser 3539480632
chore: update zed for claude
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-05-29 21:44:56 -05:00
jolheiser 09d1868e29
chore: update flake deps
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-05-29 21:44:35 -05:00
4 changed files with 86 additions and 22 deletions

View File

@ -15,5 +15,9 @@
theme = "Catppuccin Mocha"; theme = "Catppuccin Mocha";
ui_font_size = 16; ui_font_size = 16;
vim_mode = false; vim_mode = false;
assistant = {
version = "1";
provider.name = "anthropic";
};
}; };
} }

View File

@ -58,6 +58,24 @@
} }
}, },
"flake-utils_2": { "flake-utils_2": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_3": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
@ -123,11 +141,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694102001, "lastModified": 1709087332,
"narHash": "sha256-vky6VPK1n1od6vXbqzOXnekrQpTL4hbPAwUhT5J9c9E=", "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "gitignore.nix", "repo": "gitignore.nix",
"rev": "9e21c80adf67ebcb077d75bd5e7d724d21eeafd6", "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -184,6 +202,28 @@
"type": "github" "type": "github"
} }
}, },
"gomod2nix_2": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"templ",
"nixpkgs"
]
},
"locked": {
"lastModified": 1710154385,
"narHash": "sha256-4c3zQ2YY4BZOufaBJB4v9VBBeN2dH7iVdoJw8SDNCfI=",
"owner": "nix-community",
"repo": "gomod2nix",
"rev": "872b63ddd28f318489c929d25f1f0a3c6039c971",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "gomod2nix",
"type": "github"
}
},
"gomodinit": { "gomodinit": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -231,11 +271,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1712212014, "lastModified": 1717020155,
"narHash": "sha256-s+lbaf3nLRn1++/X2eXwY9mYCA/m9l8AvyG8beeOaXE=", "narHash": "sha256-Xpyv9i02ineeGakmmzd45hkBgy2a7Zf/3d6amM6MUb4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7e91f2a0ba4b62b88591279d54f741a13e36245b", "rev": "1b589257f72c9c54e92d1d631e988e5346156736",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -266,11 +306,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1709410583, "lastModified": 1716987116,
"narHash": "sha256-esOSUoQ7mblwcsSea0K17McZuwAIjoS6dq/4b83+lvw=", "narHash": "sha256-uuEkErFVsFdg2K0cKbNQ9JlFSAm/xYqPr4rbPLI91Y8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "59e37017b9ed31dee303dbbd4531c594df95cfbc", "rev": "8251761f93d6f5b91cee45ac09edb6e382641009",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -282,11 +322,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1715534503, "lastModified": 1716769173,
"narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", "narHash": "sha256-7EXDb5WBw+d004Agt+JHC/Oyh/KTUglOaQ4MNjBbo5w=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2057814051972fa1453ddfb0d98badbea9b83c06", "rev": "9ca3f649614213b2aaf5f1e16ec06952fe4c2632",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -387,6 +427,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tailwind-ctp": { "tailwind-ctp": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -498,17 +553,18 @@
"templ": { "templ": {
"inputs": { "inputs": {
"gitignore": "gitignore", "gitignore": "gitignore",
"gomod2nix": "gomod2nix_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"xc": "xc" "xc": "xc"
}, },
"locked": { "locked": {
"lastModified": 1702159064, "lastModified": 1716757164,
"narHash": "sha256-9tyQOybmptmDhIfQcuZ8Vq8l3fMLdZfGPw+tjJbWzeQ=", "narHash": "sha256-GJOoRiwCyQ39ObWGdp7t4yNVrke1WMpzJjUbs3gakhM=",
"owner": "a-h", "owner": "a-h",
"repo": "templ", "repo": "templ",
"rev": "ddb1610a81627f5c9c524bb66877477f401e4ecd", "rev": "067cc686cd1e44cd0d3b6669a52e24ef115ccc5a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -613,18 +669,18 @@
}, },
"xc": { "xc": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs": [ "nixpkgs": [
"templ", "templ",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1696495449, "lastModified": 1709043057,
"narHash": "sha256-dthZiJ2FX/eIC0l1mdfefJZXDTVLfwp7L7Arq5rsCWA=", "narHash": "sha256-F/u9u1vevCUqgCz0WjcCOPcN+h9kLEP73nBqie86J2w=",
"owner": "joerdav", "owner": "joerdav",
"repo": "xc", "repo": "xc",
"rev": "c8baab14d679fb276f11c576607010283be21220", "rev": "52cfa7e7f2d5a0d97b45a6f69ff1403a901e78c6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -122,7 +122,7 @@
}) })
inputs.golink.overlay inputs.golink.overlay
]; ];
pkgs = import nixpkgs { pkgs = import inputs.nixpkgs {
inherit overlays system; inherit overlays system;
config.allowUnfree = true; config.allowUnfree = true;
}; };

View File

@ -5,14 +5,14 @@ default:
[private] [private]
rebuild *args: rebuild *args:
@git add . @git add .
@sudo nixos-rebuild --flake . {{args}} @sudo nixos-rebuild --flake . {{args}} |& nix run nixpkgs#nix-output-monitor
# Rebuild the current machine # Rebuild the current machine
switch *args: switch *args:
@just rebuild switch {{args}} @just rebuild switch {{args}}
hm: hm:
@home-manager switch --flake . @home-manager switch --flake . |& nix run nixpkgs#nix-output-monitor
@systemctl --user start agenix.service @systemctl --user start agenix.service
# Rebuild the current machine for next boot # Rebuild the current machine for next boot
@ -31,3 +31,7 @@ update-flake:
# Update an individual input # Update an individual input
update input: update input:
@nix flake lock --update-input {{input}} @nix flake lock --update-input {{input}}
fetch:
@nix run nixpkgs#onefetch -- --true-color never --no-bots -d lines-of-code
@nix run nixpkgs#scc -- --no-cocomo .