Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bbec58acba |
Generated
+54
-38
@@ -1,23 +1,20 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"claude-code": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1789074092,
|
"lastModified": 1765835352,
|
||||||
"narHash": "sha256-QCXTUbd4FuwOHO7LgJws78YTRcco4xgR8RoYgKLvd9w=",
|
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
|
||||||
"owner": "sadjow",
|
"owner": "hercules-ci",
|
||||||
"repo": "claude-code-nix",
|
"repo": "flake-parts",
|
||||||
"rev": "1f88b393ac054378c393f914dc83d08a6ef5daeb",
|
"rev": "a34fae9c08a15ad73f295041fec82323541400a9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "sadjow",
|
"owner": "hercules-ci",
|
||||||
"repo": "claude-code-nix",
|
"repo": "flake-parts",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -28,11 +25,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1789144075,
|
"lastModified": 1779969295,
|
||||||
"narHash": "sha256-zD31BI5PqEdLRCSdtlwlbAOPCdmg6sFW+/fmGRSeG3I=",
|
"narHash": "sha256-HwIJ3tOcwSMiV75L7KqJXciXR9UfT+d7rwOZMX7cTnA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "61b08afca39cc9afe69a47cdd82fbb305899b106",
|
"rev": "61e2c9659324181e0f0ed911958c536333b1d4f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -42,6 +39,25 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"kube": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767247330,
|
||||||
|
"narHash": "sha256-CxXwzmvAOO07719jzE0Zw14C9r3fQcXfPllLtt5cIzo=",
|
||||||
|
"rev": "4a4d79a290c92de630e503f395fc8fd709904c1b",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://gitea.home-frikker.dedyn.io/api/v1/repos/jfrikker/kube/archive/4a4d79a290c92de630e503f395fc8fd709904c1b.tar.gz"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://gitea.home-frikker.dedyn.io/jfrikker/kube/archive/1.0.1.tar.gz"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-index-database": {
|
"nix-index-database": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -49,11 +65,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1788680125,
|
"lastModified": 1779604987,
|
||||||
"narHash": "sha256-amGSoDobwmp4CFvCn841ws2iuitus+HUJdD/gKgsrJA=",
|
"narHash": "sha256-ZQ5z+fVhxYKtIFwtqGp5O0PD84BM1riASvqDaN5Xs+s=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "116ad1c2adb642405ef8916f6a94c8626f971344",
|
"rev": "8fba98c80b48fa013820e0163c5096922fea4ddd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -64,42 +80,42 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1789009968,
|
"lastModified": 1779560665,
|
||||||
"narHash": "sha256-GB16oaxpsrnGNnGIE+0uYBqMRzB9X6FYDUvjvnJAYew=",
|
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d58a46e3bc02d91ebe04667f8397752a749c0024",
|
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-26.05",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-lib": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1765674936,
|
||||||
|
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"claude-code": "claude-code",
|
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"kube": "kube",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"systems": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -3,20 +3,15 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# Specify the source of Home Manager and Nixpkgs.
|
# Specify the source of Home Manager and Nixpkgs.
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
claude-code = {
|
|
||||||
url = "github:sadjow/claude-code-nix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
# kube = {
|
kube = {
|
||||||
# url = "https://gitea.home-frikker.dedyn.io/jfrikker/kube/archive/1.0.1.tar.gz";
|
url = "https://gitea.home-frikker.dedyn.io/jfrikker/kube/archive/1.0.1.tar.gz";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# };
|
};
|
||||||
|
|
||||||
nix-index-database = {
|
nix-index-database = {
|
||||||
url = "github:nix-community/nix-index-database";
|
url = "github:nix-community/nix-index-database";
|
||||||
@@ -24,7 +19,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, claude-code, nix-index-database, ... }:
|
outputs = { nixpkgs, home-manager, kube, nix-index-database, ... }:
|
||||||
let modules-for-system = pkgs: pkgs.stdenv.mkDerivation {
|
let modules-for-system = pkgs: pkgs.stdenv.mkDerivation {
|
||||||
name = "home-manager-modules";
|
name = "home-manager-modules";
|
||||||
src = pkgs.lib.fileset.toSource {
|
src = pkgs.lib.fileset.toSource {
|
||||||
@@ -46,7 +41,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
homeConfigurations.redbook =
|
homeConfigurations.shibumi =
|
||||||
let pkgs = import nixpkgs { system = "aarch64-darwin"; config.allowUnfree = true; };
|
let pkgs = import nixpkgs { system = "aarch64-darwin"; config.allowUnfree = true; };
|
||||||
modules = modules-for-system pkgs;
|
modules = modules-for-system pkgs;
|
||||||
in home-manager.lib.homeManagerConfiguration {
|
in home-manager.lib.homeManagerConfiguration {
|
||||||
@@ -55,22 +50,20 @@
|
|||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
nix-index-database.homeModules.default
|
nix-index-database.homeModules.default
|
||||||
"${modules}/base.nix"
|
"${modules}"
|
||||||
"${modules}/desktop.nix"
|
|
||||||
"${modules}/redbook.nix"
|
|
||||||
"${modules}/redbook-desktop.nix"
|
|
||||||
] ++
|
] ++
|
||||||
[{
|
[{
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
home.username = "jfrikker";
|
home.username = "jfrikker";
|
||||||
home.homeDirectory = "/Users/jfrikker";
|
home.homeDirectory = "/Users/jfrikker";
|
||||||
home.packages = [ pkgs.pinentry_mac ];
|
home.packages = [ pkgs.pinentry_mac ];
|
||||||
|
jfrikker.desktop.enable = true;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
extraSpecialArgs = { claude-code = claude-code.packages.aarch64-darwin.default; };
|
extraSpecialArgs = { kube = kube.packages.aarch64-darwin.default; };
|
||||||
};
|
};
|
||||||
homeConfigurations.home =
|
homeConfigurations.home =
|
||||||
let pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
|
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
modules = modules-for-system pkgs;
|
modules = modules-for-system pkgs;
|
||||||
in home-manager.lib.homeManagerConfiguration {
|
in home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
@@ -87,72 +80,8 @@
|
|||||||
home.homeDirectory = "/home/jfrikker";
|
home.homeDirectory = "/home/jfrikker";
|
||||||
}];
|
}];
|
||||||
|
|
||||||
extraSpecialArgs = { claude-code = claude-code.packages.x86_64-linux.default; };
|
extraSpecialArgs = { kube = kube.packages.x86_64-linux.default; };
|
||||||
};
|
};
|
||||||
homeConfigurations.home-laptop =
|
packages.aarch64-darwin.default = modules-for-system nixpkgs.legacyPackages.aarch64-darwin;
|
||||||
let pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
|
|
||||||
modules = modules-for-system pkgs;
|
|
||||||
in home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
|
|
||||||
modules =
|
|
||||||
[
|
|
||||||
nix-index-database.homeModules.default
|
|
||||||
] ++
|
|
||||||
(pkgs.lib.filter
|
|
||||||
(n: pkgs.lib.strings.hasSuffix ".nix" n)
|
|
||||||
(pkgs.lib.filesystem.listFilesRecursive "${modules}/base")) ++
|
|
||||||
(pkgs.lib.filter
|
|
||||||
(n: pkgs.lib.strings.hasSuffix ".nix" n)
|
|
||||||
(pkgs.lib.filesystem.listFilesRecursive "${modules}/desktop")) ++
|
|
||||||
[{
|
|
||||||
home.stateVersion = "22.05";
|
|
||||||
home.username = "jfrikker";
|
|
||||||
home.homeDirectory = "/home/jfrikker";
|
|
||||||
# home.packages = [ pkgs.pinentry ];
|
|
||||||
|
|
||||||
programs.ghostty = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
font-family = "Iosevka Term Extended";
|
|
||||||
font-size = 10;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.foot = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
main = {
|
|
||||||
font = "Iosevka Term:size=10:width=expanded";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.pointerCursor = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.vanilla-dmz;
|
|
||||||
name = "Vanilla-DMZ";
|
|
||||||
sway.enable = true;
|
|
||||||
gtk.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
|
||||||
enable = true;
|
|
||||||
config.modifier = "Mod4";
|
|
||||||
# config.terminal = "${pkgs.ghostty}/bin/ghostty";
|
|
||||||
config.input = {
|
|
||||||
"1452:628:bcm5974" = {
|
|
||||||
scroll_factor = "0.4";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.emacs.package = pkgs.emacs-pgtk;
|
|
||||||
}];
|
|
||||||
|
|
||||||
# extraSpecialArgs = { kube = kube.packages.x86_64-linux.default; };
|
|
||||||
extraSpecialArgs = { claude-code = claude-code.packages.x86_64-linux.default; };
|
|
||||||
};
|
|
||||||
packages.x86_64-linux.default = modules-for-system nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user