Personal Nix setup

Switch to lix

Changed files
+90 -16
home
+84
flake.lock
···
"type": "github"
}
},
+
"flake-utils_2": {
+
"inputs": {
+
"systems": "systems_3"
+
},
+
"locked": {
+
"lastModified": 1710146030,
+
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+
"owner": "numtide",
+
"repo": "flake-utils",
+
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+
"type": "github"
+
},
+
"original": {
+
"owner": "numtide",
+
"repo": "flake-utils",
+
"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"
+
}
+
},
"freetype2": {
"flake": false,
"locked": {
···
"owner": "tamago324",
"repo": "lir.nvim",
"type": "github"
+
}
+
},
+
"lix": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1723503926,
+
"narHash": "sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s=",
+
"rev": "bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2",
+
"type": "tarball",
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2.tar.gz?rev=bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://git.lix.systems/lix-project/lix/archive/2.91.0.tar.gz"
+
}
+
},
+
"lix-module": {
+
"inputs": {
+
"flake-utils": "flake-utils_2",
+
"flakey-profile": "flakey-profile",
+
"lix": "lix",
+
"nixpkgs": [
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1723510904,
+
"narHash": "sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts=",
+
"rev": "622a2253a071a1fb97a4d3c8103a91114acc1140",
+
"type": "tarball",
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/622a2253a071a1fb97a4d3c8103a91114acc1140.tar.gz"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.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",
···
}
},
"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"
+
}
+
},
+
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+6
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.91.0.tar.gz";
+
inputs.nixpkgs.follows = "nixpkgs";
+
};
+
apple-silicon = {
url = "github:tpwrules/nixos-apple-silicon";
inputs.nixpkgs.follows = "nixpkgs";
···
eachSystem = inputs.nixpkgs.lib.genAttrs ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux"];
eachDarwinSystem = inputs.nixpkgs.lib.genAttrs ["aarch64-darwin" "x86_64-darwin"];
overlays = [
+
inputs.lix-module.overlays.lixFromNixpkgs
inputs.nvim-plugins.overlays.default
(self: super: {
inherit (inputs.language-servers.packages.${self.system})
-1
home/base/default.nix
···
{
imports = [
-
./nix-config.nix
./gpg.nix
./git.nix
./shell.nix
-15
home/base/nix-config.nix
···
-
{ config, ... }:
-
-
let
-
home = config.home.homeDirectory;
-
in {
-
age.secrets."nix-access-tokens.conf" = {
-
symlink = true;
-
path = "${home}/.cache/nix-access-tokens.conf";
-
file = ../../modules/base/encrypt/nix-access-tokens.conf.age;
-
};
-
-
nix.extraOptions = ''
-
!include ${config.age.secrets."nix-access-tokens.conf".path}
-
'';
-
}