Compare commits

...

2 Commits

Author SHA1 Message Date
ea00c89620
flake: fix nvim_flake source 2024-03-16 15:31:38 +01:00
f1d4ffd261
magpie: add nvim overylan and package 2024-03-16 15:27:40 +01:00
3 changed files with 13 additions and 14 deletions

12
flake.lock generated
View File

@ -283,17 +283,17 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1710595214, "lastModified": 1710598928,
"narHash": "sha256-mjOOCO3F9gTd/+FIZMXuSYydBTtYqBcWDPkopCpXJh8=", "narHash": "sha256-GlWNtPxMzNzEuR9lVpzUZ7Kw1rVEQqWdE+VH7xmOoPU=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "a9bc0c8a7aca1a8f1c184d3c3a649d3f85fb3bc0", "rev": "3f9559992a9a67f632ab0e32590c826968cc9712",
"revCount": 23, "revCount": 25,
"type": "git", "type": "git",
"url": "file://file:/home/akill/proj/nvim_flake/" "url": "https://git.project-cloud.net/asmir/nvim_flake"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "file://file:/home/akill/proj/nvim_flake/" "url": "https://git.project-cloud.net/asmir/nvim_flake"
} }
}, },
"peerix": { "peerix": {

View File

@ -25,7 +25,7 @@
}; };
nvim = { nvim = {
url = "git+file:/home/akill/proj/nvim_flake/"; url = "git+https://git.project-cloud.net/asmir/nvim_flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@ -4,6 +4,8 @@
lib, lib,
project-cloud, project-cloud,
goatcounter, goatcounter,
nvim,
system,
... ...
}: { }: {
imports = []; imports = [];
@ -11,6 +13,8 @@
nix.optimise.automatic = true; nix.optimise.automatic = true;
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.overlays = [ nvim.overlays.${system}.overlay ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 2; boot.loader.systemd-boot.configurationLimit = 2;
@ -30,14 +34,15 @@
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alejandra
curl curl
fd fd
file file
fzf fzf
fzy fzy
git git
goatcounter.packages.aarch64-linux.goatcounter
htop-vim htop-vim
nvim
pciutils pciutils
tig tig
tmux tmux
@ -45,15 +50,9 @@
usbutils usbutils
wget wget
zip zip
goatcounter.packages.aarch64-linux.goatcounter
]; ];
programs.mosh.enable = true; programs.mosh.enable = true;
programs.neovim = {
enable = true;
vimAlias = true;
viAlias = true;
};
mailserver = { mailserver = {
enable = true; enable = true;