Compare commits

...
Sign in to create a new pull request.

4 commits
main ... raspi

Author SHA1 Message Date
Ellis Rahhal
327f924150 testing 2025-03-22 14:41:43 -07:00
Ellis Rahhal
79b5bcbdd2 testing 2025-03-22 14:36:08 -07:00
Ellis Rahhal
b0009ef3f1 testing 2025-03-22 14:35:48 -07:00
Ellis Rahhal
650dc70f39 trying out raspi 2025-03-22 14:15:43 -07:00
3 changed files with 62 additions and 29 deletions

66
flake.lock generated
View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738453229, "lastModified": 1741352980,
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=", "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd", "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,6 +39,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_2": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"ixx": { "ixx": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@ -69,11 +87,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1741513245, "lastModified": 1742422364,
"narHash": "sha256-7rTAMNTY1xoBwz0h7ZMtEcd8LELk9R5TzBPoHuhNSCk=", "narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e3e32b642a31e6714ec1b712de8c91a3352ce7e1", "rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -85,11 +103,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1738797219, "lastModified": 1742456341,
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=", "narHash": "sha256-yvdnTnROddjHxoQqrakUQWDZSzVchczfsuuMOxg476c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1da52dd49a127ad74486b135898da2cef8c62665", "rev": "7344a3b78128f7b1765dba89060b015fb75431a7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -106,11 +124,11 @@
"nuschtosSearch": "nuschtosSearch" "nuschtosSearch": "nuschtosSearch"
}, },
"locked": { "locked": {
"lastModified": 1741709061, "lastModified": 1742559284,
"narHash": "sha256-G1YTksB0CnVhpU1gEmvO3ugPS5CAmUpm5UtTIUIPnEI=", "narHash": "sha256-PSSjCCqpJPkCagkkdLODBVVonGxgwU5dN2CYlFPNVNw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "3a3abf11700f76738d8ad9d15054ceaf182d2974", "rev": "c980271267ef146a6c30394c611a97e077471cf2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -121,7 +139,7 @@
}, },
"nuschtosSearch": { "nuschtosSearch": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"ixx": "ixx", "ixx": "ixx",
"nixpkgs": [ "nixpkgs": [
"nixvim", "nixvim",
@ -129,11 +147,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738508923, "lastModified": 1741886583,
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=", "narHash": "sha256-sScfYKtxp3CYv5fJcHQDvQjqBL+tPNQqS9yf9Putd+s=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb", "rev": "2974bc5fa3441a319fba943f3ca41f7dcd1a1467",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -144,6 +162,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixvim": "nixvim" "nixvim": "nixvim"
} }
@ -162,6 +181,21 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_2": {
"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",

View file

@ -12,18 +12,17 @@
}; };
outputs = { nixpkgs, ... } @ inputs: outputs = { self, nixpkgs, ... } @ inputs:
let
# system = "x86_64-linux";
pkgs = import "${nixpkgs}" {
# system = "x86_64-linux";
};
in
{ {
nixosModules = rec { nixosModules = rec {
nixvim-config = import ./default.nix { nixvim-config = { config, ... }:
let
# Get system from the importing module's context
system = nixpkgs.lib.systems.elaborate config.nixpkgs.hostPlatform;
pkgs = nixpkgs.legacyPackages.${system.system};
in
import ./default.nix {
inherit inputs; inherit inputs;
# inherit system;
inherit pkgs; inherit pkgs;
}; };
default = nixvim-config; default = nixvim-config;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, ... }:
{ {
programs.nixvim = { programs.nixvim = {
enable = config.nixvim-config.enable; enable = config.nixvim-config.enable;