Updated server settings, pulling nvim from repo

This commit is contained in:
2025-08-30 13:39:27 -04:00
parent 693cbd3798
commit 9332469636
24 changed files with 206 additions and 1380 deletions

View File

@@ -2,9 +2,9 @@
description = "System Flake";
inputs = {
nixpkgs.url = "github:NixOs/nixpkgs/nixos-25.05";
nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database.url = "github:nix-community/nix-index-database";
@@ -14,6 +14,17 @@
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
neovim-config = {
# pick ONE of these URLs:
# Public over HTTPS:
url = "git+https://git.th3r00t.net/th3r00t/nvim-config.git?ref=master";
# OR private over SSH (recommended if the repo is private):
# url = "git+ssh://git@git.th3r00t.net/th3r00t/nvim-config.git?ref=main";
flake = false;
};
};
outputs = {
@@ -52,6 +63,11 @@
./home-xps13.nix
nix-index-database.homeModules.nix-index
];
home.file.".config/nvim" = {
source = inputs.neovim-config;
recursive = true;
executable = true;
};
};
# Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix
}
@@ -75,6 +91,11 @@
./home-server.nix
nix-index-database.homeModules.nix-index
];
home.file.".config/nvim" = {
source = inputs.neovim-config;
recursive = true;
executable = true;
};
};
# home-manager.users.th3r00t = import ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix