Compare commits

..
4 Commits
Author SHA1 Message Date
wymiller cafc818f5d Merge pull request '📦 Add atuin overlay' (#6) from overlay-atuin into master
Publish packages to Attic / publish (push) Successful in 16m52s
Reviewed-on: #6
2026-08-26 18:44:08 -05:00
wymiller fab444b00e chore: update flake 2026-08-26 19:47:21 -04:00
wymiller b7c830d887 Merge remote-tracking branch 'origin' into overlay-atuin 2026-08-26 19:44:04 -04:00
wymiller d76f1d6453 add: added atuin overlay 2026-08-09 14:46:33 -04:00
5 changed files with 96 additions and 19 deletions
+1
View File
@@ -63,6 +63,7 @@ jobs:
system="$(nix eval --impure --raw --expr builtins.currentSystem)" system="$(nix eval --impure --raw --expr builtins.currentSystem)"
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \ NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \
".#packages.${system}.atuinLatest" \
".#packages.${system}.musicpresence" \ ".#packages.${system}.musicpresence" \
".#packages.${system}.vintage-story" \ ".#packages.${system}.vintage-story" \
".#packages.${system}.swaytreesave" \ ".#packages.${system}.swaytreesave" \
Generated
+28 -7
View File
@@ -99,11 +99,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787750582, "lastModified": 1787778830,
"narHash": "sha256-FfIAV44k33i+IjC1+new2KyjyVGUzGtV89VHVP4eK1U=", "narHash": "sha256-GnLPpDT727E6VpDlALP8JeP1BbSQ17H0HiEEYq6Ql4w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0a364342a66bcecfc8a00d2fc38c6c29eee7bc5e", "rev": "6b449e35980e1b75dd17da2d6d9b66e757194f1c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -114,11 +114,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1787640266, "lastModified": 1787753485,
"narHash": "sha256-MrkfE5hF5xx4L/0h5NyJ3xQkKVftwSuKSkFSrvlTxGY=", "narHash": "sha256-BZWCi9ZRJiARTuKTbbtvFTj7t1TK4G3UEckT3HyNfRg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f4f698677b11021a8f84f452e23ae9ef2427bec3", "rev": "062346a6d85bc4b49dfaa61c986e9c5be21217d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -134,7 +134,8 @@
"darwin": "darwin", "darwin": "darwin",
"hildibrand": "hildibrand", "hildibrand": "hildibrand",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay_3"
} }
}, },
"rust-overlay": { "rust-overlay": {
@@ -178,6 +179,26 @@
"repo": "rust-overlay", "repo": "rust-overlay",
"type": "github" "type": "github"
} }
},
"rust-overlay_3": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1787713867,
"narHash": "sha256-ZRYTEvDb8QZLCHRoMyIZle9V3Bvw905m0teeo1RvI7M=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "494680f9ffa2b4bf9f2df0f442c7096e44adfa00",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",
+17 -5
View File
@@ -7,13 +7,18 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
darwin.url = "github:LnL7/nix-darwin"; darwin.url = "github:LnL7/nix-darwin";
darwin.inputs.nixpkgs.follows = "nixpkgs"; darwin.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git"; hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
hildibrand.inputs.nixpkgs.follows = "nixpkgs"; hildibrand.inputs.nixpkgs.follows = "nixpkgs";
caitsith.url = "git+https://scm.wyattjmiller.com/wymiller/caitsith.git"; caitsith.url = "git+https://scm.wyattjmiller.com/wymiller/caitsith.git";
caitsith.inputs.nixpkgs.follows = "nixpkgs"; caitsith.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs@{ self, nixpkgs, home-manager, darwin, ... }: outputs = inputs@{ self, nixpkgs, home-manager, darwin, rust-overlay, ... }:
let let
supportedSystems = [ supportedSystems = [
"x86_64-linux" "x86_64-linux"
@@ -23,7 +28,8 @@
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems f; forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems f;
in in
{ {
packages = forAllSystems (system: packages = forAllSystems (
system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
@@ -39,8 +45,11 @@
} }
); );
devShells = forAllSystems (system: devShells = forAllSystems (
let pkgs = import nixpkgs { inherit system; }; in system:
let
pkgs = import nixpkgs { inherit system; };
in
{ {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
@@ -50,7 +59,10 @@
} }
); );
overlays.default = import ./overlays; overlays.default = nixpkgs.lib.composeManyExtensions [
rust-overlay.overlays.default
(import ./overlays)
];
homeManagerModules = import ./modules/home-manager self; homeManagerModules = import ./modules/home-manager self;
nixosModules.default = import ./modules/nixos; nixosModules.default = import ./modules/nixos;
darwinModules.default = import ./modules/darwin; darwinModules.default = import ./modules/darwin;
+43 -1
View File
@@ -1 +1,43 @@
final: prev: { } final: prev:
let
rustLatest = prev.rust-bin.stable.latest.default;
rustPlatform = prev.makeRustPlatform {
cargo = rustLatest;
rustc = rustLatest;
};
in
{
atuinLatest = (prev.atuin.override { inherit rustPlatform; }).overrideAttrs (oldAttrs: rec {
version = "18.19.0";
src = prev.fetchFromGitHub {
owner = "atuinsh";
repo = "atuin";
rev = "v${version}";
hash = "sha256-yAw+ty6FUnFbiRTdAe2QQHzj6uU24fZ/bEIXcHl/thg=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-jirVe0+N5+UHZWioj8AipUhawMBameqEJJpa8HPTnfw=";
};
cargoBuildFeatures = [
"ai"
"client"
"clipboard"
"daemon"
"hex"
"sync"
];
cargoCheckFeatures = cargoBuildFeatures;
preCheck = (oldAttrs.preCheck or "") + ''
export HOME="$TMPDIR"
export XDG_CONFIG_HOME="$TMPDIR/.config"
export XDG_DATA_HOME="$TMPDIR/.local/share"
export XDG_STATE_HOME="$TMPDIR/.local/state"
mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME"
'';
});
}
+1
View File
@@ -4,6 +4,7 @@
caitsith ? null caitsith ? null
}: }:
{ {
atuinLatest = pkgs.atuinLatest;
# any packages that are added to pkgs and are inputs, we inherit them here # any packages that are added to pkgs and are inputs, we inherit them here
inherit hildibrand; inherit hildibrand;
inherit caitsith; inherit caitsith;