adding claude code
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
This commit is contained in:
parent
a553533c36
commit
a944264916
6
flake.lock
generated
6
flake.lock
generated
@ -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": {
|
||||
|
@ -28,6 +28,8 @@ in
|
||||
pkgs.age
|
||||
pkgs.ydiff
|
||||
pkgs.delta
|
||||
|
||||
pkgs-unstable.claude-code
|
||||
] ++ pkgs.lib.optionals specialArgs.withGUI [
|
||||
pkgs.discord
|
||||
pkgs.obsidian
|
||||
|
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user