Personal Nix setup

Replace lix flake with nixpkgs version

Changed files
+13 -64
lib
modules
-53
flake.lock
···
"type": "github"
}
},
-
"flakey-profile": {
-
"locked": {
-
"lastModified": 1712898590,
-
"narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=",
-
"owner": "lf-",
-
"repo": "flakey-profile",
-
"rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d",
-
"type": "github"
-
},
-
"original": {
-
"owner": "lf-",
-
"repo": "flakey-profile",
-
"type": "github"
-
}
-
},
"gitignore": {
"inputs": {
"nixpkgs": [
···
"owner": "tamago324",
"repo": "lir.nvim",
"type": "github"
-
}
-
},
-
"lix": {
-
"flake": false,
-
"locked": {
-
"lastModified": 1746827285,
-
"narHash": "sha256-hsFe4Tsqqg4l+FfQWphDtjC79WzNCZbEFhHI8j2KJzw=",
-
"rev": "47aad376c87e2e65967f17099277428e4b3f8e5a",
-
"type": "tarball",
-
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/47aad376c87e2e65967f17099277428e4b3f8e5a.tar.gz?rev=47aad376c87e2e65967f17099277428e4b3f8e5a"
-
},
-
"original": {
-
"type": "tarball",
-
"url": "https://git.lix.systems/lix-project/lix/archive/2.93.0.tar.gz"
-
}
-
},
-
"lix-module": {
-
"inputs": {
-
"flake-utils": [
-
"flake-utils"
-
],
-
"flakey-profile": "flakey-profile",
-
"lix": "lix",
-
"nixpkgs": [
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1746838955,
-
"narHash": "sha256-11R4K3iAx4tLXjUs+hQ5K90JwDABD/XHhsM9nkeS5N8=",
-
"rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc",
-
"type": "tarball",
-
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc.tar.gz?rev=cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc"
-
},
-
"original": {
-
"type": "tarball",
-
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz"
}
},
"lspkind-nvim": {
···
"home-manager": "home-manager",
"language-servers": "language-servers",
"lanzaboote": "lanzaboote",
-
"lix-module": "lix-module",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nvim-plugins": "nvim-plugins",
···
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
···
"owner": "tamago324",
"repo": "lir.nvim",
"type": "github"
}
},
"lspkind-nvim": {
···
"home-manager": "home-manager",
"language-servers": "language-servers",
"lanzaboote": "lanzaboote",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nvim-plugins": "nvim-plugins",
+3 -10
flake.nix
···
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
-
lix-module = {
-
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz";
-
inputs = {
-
nixpkgs.follows = "nixpkgs";
-
flake-utils.follows = "flake-utils";
-
};
-
};
-
apple-silicon = {
url = "github:kitten/nixos-apple-silicon/edge";
inputs.nixpkgs.follows = "nixpkgs";
···
eachSystem = lib.genAttrs ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux"];
overlays = [
self.overlays.default
-
inputs.lix-module.overlays.default
inputs.nvim-plugins.overlays.default
inputs.android-sdk.overlays.default
inputs.language-servers.overlays.default
···
overlays = {
default = import ./lib/pkgs;
};
packages = eachSystem (system: let
pkgs = import inputs.nixpkgs {
inherit system;
-
overlays = [ self.overlays.default ];
};
in {
inherit (inputs.agenix.packages.${system}) agenix;
···
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
apple-silicon = {
url = "github:kitten/nixos-apple-silicon/edge";
inputs.nixpkgs.follows = "nixpkgs";
···
eachSystem = lib.genAttrs ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux"];
overlays = [
self.overlays.default
+
self.overlays.lix
inputs.nvim-plugins.overlays.default
inputs.android-sdk.overlays.default
inputs.language-servers.overlays.default
···
overlays = {
default = import ./lib/pkgs;
+
lix = import ./lib/lix-overlay.nix;
};
packages = eachSystem (system: let
pkgs = import inputs.nixpkgs {
inherit system;
+
overlays = [ self.overlays.default self.overlays.lix ];
};
in {
inherit (inputs.agenix.packages.${system}) agenix;
+9
lib/lix-overlay.nix
···
···
+
self: super:
+
+
let
+
lixPackageSets = self.lixPackageSets.override {
+
inherit (super) nix-direnv nix-fast-build;
+
};
+
in {
+
inherit (lixPackageSets.latest) lix nix-direnv nix-eval-jobs nix-fast-build;
+
}
+1 -1
modules/base/nix-config.nix
···
age.secrets."nix-access-tokens.conf".file = ./encrypt/nix-access-tokens.conf.age;
nix = {
-
package = pkgs.nix;
channel.enable = mkForce false;
# make flake registry and nix path match flake inputs
···
age.secrets."nix-access-tokens.conf".file = ./encrypt/nix-access-tokens.conf.age;
nix = {
+
package = pkgs.lix;
channel.enable = mkForce false;
# make flake registry and nix path match flake inputs