adding claude code
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good

This commit is contained in:
Deepak Mallubhotla 2025-03-13 13:09:40 -05:00
parent a553533c36
commit a944264916
Signed by: deepak
GPG Key ID: 47831B15427F5A55
3 changed files with 14 additions and 7 deletions

6
flake.lock generated
View File

@ -230,11 +230,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1725983898,
"narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
"lastModified": 1741851582,
"narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
"rev": "6607cf789e541e7873d40d3a8f7815ea92204f32",
"type": "github"
},
"original": {

View File

@ -28,6 +28,8 @@ in
pkgs.age
pkgs.ydiff
pkgs.delta
pkgs-unstable.claude-code
] ++ pkgs.lib.optionals specialArgs.withGUI [
pkgs.discord
pkgs.obsidian

View File

@ -1,7 +1,12 @@
{ lib, inputs, nixpkgs-24-05, homeManager, homeManager-24-05, NixOS-WSL-2405, customPackageOverlay, ... }:
let
linuxSystem = "x86_64-linux";
nixpkgs-unstable = inputs.nixpkgs.legacyPackages.${linuxSystem};
nixpkgs-unstable = import inputs.nixpkgs {
system = linuxSystem;
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"claude-code"
];
};
in
{
"maxos" = lib.nixosSystem {
@ -14,9 +19,9 @@ in
./maxos/configuration.nix
homeManager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
withGUI = true;
gitSigningKey = "976F3357369149AB";
rundirnum = "1000";
withGUI = true;
gitSigningKey = "976F3357369149AB";
rundirnum = "1000";
};
home-manager.useGlobalPkgs = true;
home-manager.users.deepak = {