summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock224
-rw-r--r--flake.nix3
-rw-r--r--profiles/core/home.nix6
-rw-r--r--profiles/core/neovim.nix11
4 files changed, 211 insertions, 33 deletions
diff --git a/flake.lock b/flake.lock
index b697b13..4e6f3d5 100644
--- a/flake.lock
+++ b/flake.lock
@@ -23,11 +23,11 @@
"utils": "utils"
},
"locked": {
- "lastModified": 1695052866,
- "narHash": "sha256-agn7F9Oww4oU6nPiw+YiYI9Xb4vOOE73w8PAoBRP4AA=",
+ "lastModified": 1698921442,
+ "narHash": "sha256-7KmvhQ7FuXlT/wG4zjTssap6maVqeAMBdtel+VjClSM=",
"owner": "serokell",
"repo": "deploy-rs",
- "rev": "e3f41832680801d0ee9e2ed33eb63af398b090e9",
+ "rev": "660180bbbeae7d60dad5a92b30858306945fd427",
"type": "github"
},
"original": {
@@ -55,6 +55,22 @@
"flake-compat_2": {
"flake": false,
"locked": {
+ "lastModified": 1696426674,
+ "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
+ "flake-compat_3": {
+ "flake": false,
+ "locked": {
"lastModified": 1668681692,
"narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=",
"owner": "edolstra",
@@ -68,6 +84,88 @@
"type": "github"
}
},
+ "flake-parts": {
+ "inputs": {
+ "nixpkgs-lib": [
+ "neovim-nightly-overlay",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1701473968,
+ "narHash": "sha256-YcVE5emp1qQ8ieHUnxt1wCZCC3ZfAS+SRRWZ2TMda7E=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
+ "flake-parts_2": {
+ "inputs": {
+ "nixpkgs-lib": [
+ "neovim-nightly-overlay",
+ "hercules-ci-effects",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1696343447,
+ "narHash": "sha256-B2xAZKLkkeRFG5XcHHSXXcP7To9Xzr59KXeZiRf4vdQ=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4",
+ "type": "github"
+ },
+ "original": {
+ "id": "flake-parts",
+ "type": "indirect"
+ }
+ },
+ "flake-utils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1694529238,
+ "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "hercules-ci-effects": {
+ "inputs": {
+ "flake-parts": "flake-parts_2",
+ "nixpkgs": [
+ "neovim-nightly-overlay",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1701009247,
+ "narHash": "sha256-GuX16rzRze2y7CsewJLTV6qXkXWyEwp6VCZXi8HLruU=",
+ "owner": "hercules-ci",
+ "repo": "hercules-ci-effects",
+ "rev": "31b6cd7569191bfcd0a548575b0e2ef953ed7d09",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "hercules-ci-effects",
+ "type": "github"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -75,11 +173,11 @@
]
},
"locked": {
- "lastModified": 1697371398,
- "narHash": "sha256-Tn5feZ5SoYHQM9BTjw5e06DuNu8wc21gC9+bq/kXA8Y=",
+ "lastModified": 1701728041,
+ "narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "3b67ae3f665379c06999641f99d94dba75b53876",
+ "rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf",
"type": "github"
},
"original": {
@@ -88,6 +186,52 @@
"type": "github"
}
},
+ "neovim-flake": {
+ "inputs": {
+ "flake-utils": "flake-utils",
+ "nixpkgs": [
+ "neovim-nightly-overlay",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "dir": "contrib",
+ "lastModified": 1702079131,
+ "narHash": "sha256-N2ROd7RWOaM+tJXnA/FG4LVm2g5a9ZivuJySgjXeHtY=",
+ "owner": "neovim",
+ "repo": "neovim",
+ "rev": "f45bf44176461992e7ed7c381aa9750e8955517f",
+ "type": "github"
+ },
+ "original": {
+ "dir": "contrib",
+ "owner": "neovim",
+ "repo": "neovim",
+ "type": "github"
+ }
+ },
+ "neovim-nightly-overlay": {
+ "inputs": {
+ "flake-compat": "flake-compat_2",
+ "flake-parts": "flake-parts",
+ "hercules-ci-effects": "hercules-ci-effects",
+ "neovim-flake": "neovim-flake",
+ "nixpkgs": "nixpkgs_2"
+ },
+ "locked": {
+ "lastModified": 1702080282,
+ "narHash": "sha256-0UsaopYnkMC8I4dkWj8o/EqHeOFCW0FfiDFfiIWS2dw=",
+ "owner": "nix-community",
+ "repo": "neovim-nightly-overlay",
+ "rev": "3fdcc32da91e0fc560ba3cfdcee205e285d90df0",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "neovim-nightly-overlay",
+ "type": "github"
+ }
+ },
"nixpkgs": {
"locked": {
"lastModified": 1671417167,
@@ -136,11 +280,11 @@
},
"nixpkgs-stable": {
"locked": {
- "lastModified": 1696717752,
- "narHash": "sha256-qEq1styCyQHSrw7AOhskH2qwCFx93bOwsGEzUIrZC0g=",
+ "lastModified": 1701568804,
+ "narHash": "sha256-iwr1fjOCvlirVL/xNvOTwY9kg3L/F3TC/7yh/QszaPI=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "2f3b6b3fcd9fa0a4e6b544180c058a70890a7cc1",
+ "rev": "dc01248a9c946953ad4d438b0a626f5c987a93e4",
"type": "github"
},
"original": {
@@ -152,11 +296,27 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1696879762,
- "narHash": "sha256-Ud6bH4DMcYHUDKavNMxAhcIpDGgHMyL/yaDEAVSImQY=",
+ "lastModified": 1701693815,
+ "narHash": "sha256-7BkrXykVWfkn6+c1EhFA3ko4MLi3gVG0p9G96PNnKTM=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "09ec6a0881e1a36c29d67497693a67a16f4da573",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_3": {
+ "locked": {
+ "lastModified": 1701718080,
+ "narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "f99e5f03cc0aa231ab5950a15ed02afec45ed51a",
+ "rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
"type": "github"
},
"original": {
@@ -166,7 +326,7 @@
"type": "github"
}
},
- "nixpkgs_3": {
+ "nixpkgs_4": {
"locked": {
"lastModified": 1670751203,
"narHash": "sha256-XdoH1v3shKDGlrwjgrNX/EN8s3c+kQV7xY6cLCE8vcI=",
@@ -181,13 +341,13 @@
"type": "indirect"
}
},
- "nixpkgs_4": {
+ "nixpkgs_5": {
"locked": {
- "lastModified": 1696693680,
- "narHash": "sha256-PH0HQTkqyj7DmdPKPwrrXwVURLBqzZs4nqnDw9q8mhg=",
+ "lastModified": 1701336116,
+ "narHash": "sha256-kEmpezCR/FpITc6yMbAh4WrOCiT2zg5pSjnKrq51h5Y=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "945559664c1dc5836173ee12896ba421d9b37181",
+ "rev": "f5c27c6136db4d76c30e533c20517df6864c46ee",
"type": "github"
},
"original": {
@@ -201,7 +361,8 @@
"inputs": {
"deploy-rs": "deploy-rs",
"home-manager": "home-manager",
- "nixpkgs": "nixpkgs_2",
+ "neovim-nightly-overlay": "neovim-nightly-overlay",
+ "nixpkgs": "nixpkgs_3",
"simple-nixos-mailserver": "simple-nixos-mailserver",
"sops-nix": "sops-nix"
}
@@ -209,8 +370,8 @@
"simple-nixos-mailserver": {
"inputs": {
"blobs": "blobs",
- "flake-compat": "flake-compat_2",
- "nixpkgs": "nixpkgs_3",
+ "flake-compat": "flake-compat_3",
+ "nixpkgs": "nixpkgs_4",
"nixpkgs-22_11": "nixpkgs-22_11",
"nixpkgs-23_05": "nixpkgs-23_05",
"utils": "utils_2"
@@ -232,15 +393,15 @@
},
"sops-nix": {
"inputs": {
- "nixpkgs": "nixpkgs_4",
+ "nixpkgs": "nixpkgs_5",
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
- "lastModified": 1697064251,
- "narHash": "sha256-xxp2sB+4vqB6S6zC/L5J8LlRKgVbgIZOcYl9/TDrEzI=",
+ "lastModified": 1701728052,
+ "narHash": "sha256-7lOMc3PtW5a55vFReBJLLLOnopsoi1W7MkjJ93jPV4E=",
"owner": "Mic92",
"repo": "sops-nix",
- "rev": "f995ea159252a53b25fa99824f2891e3b479d511",
+ "rev": "e91ece6d2cf5a0ae729796b8f0dedceab5107c3d",
"type": "github"
},
"original": {
@@ -249,6 +410,21 @@
"type": "github"
}
},
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"utils": {
"locked": {
"lastModified": 1667395993,
diff --git a/flake.nix b/flake.nix
index f9f97c6..5d07a60 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,8 @@
};
deploy-rs.url = "github:serokell/deploy-rs";
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.05";
+
+ neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = inputs@{
@@ -37,6 +39,7 @@
++ [({ config, ... }: {
nixpkgs.overlays = with lib; [(composeManyExtensions [
(import ./overlays/vimPlugins.nix {inherit pkgs;})
+ inputs.neovim-nightly-overlay.overlay
])];})
];
};
diff --git a/profiles/core/home.nix b/profiles/core/home.nix
index eed5d57..1bcb392 100644
--- a/profiles/core/home.nix
+++ b/profiles/core/home.nix
@@ -6,12 +6,10 @@
}: {
hm = {
fonts.fontconfig.enable = true;
- home.file.".local/bin".source = config.lib.meta.mkMutableSymlink /mut/bin;
+ # https://github.com/nix-community/home-manager/issues/4692
+ # home.file.".local/bin".source = config.lib.meta.mkMutableSymlink /mut/bin;
xdg = {
enable = true;
- configFile = with config.lib.meta; {
- "emacs/init.el".source = mkMutableSymlink /mut/emacs/init.el;
- };
mimeApps = {
enable = true;
defaultApplications = {
diff --git a/profiles/core/neovim.nix b/profiles/core/neovim.nix
index 765df70..dc25cb2 100644
--- a/profiles/core/neovim.nix
+++ b/profiles/core/neovim.nix
@@ -5,11 +5,12 @@
...
}: {
hm = {
- xdg = {
- configFile = with config.lib.meta; {
- "nvim".source = mkMutableSymlink /mut/neovim;
- };
- };
+ # https://github.com/nix-community/home-manager/issues/4692
+ # xdg = {
+ # configFile = with config.lib.meta; {
+ # "nvim".source = mkMutableSymlink /mut/neovim;
+ # };
+ # };
editorconfig = {
enable = true;