mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-05-06 10:02:30 +02:00
sync
This commit is contained in:
parent
38d26110e1
commit
f2bb1de7d8
15 changed files with 505 additions and 87 deletions
|
|
@ -2,7 +2,13 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -25,9 +31,12 @@
|
|||
./networking/caddy.nix
|
||||
./modules/buildCache.nix
|
||||
|
||||
./vms/kube-vm
|
||||
./modules/nfs.nix
|
||||
|
||||
# ./vms/kube-vm
|
||||
# ./vms/kube-vm2
|
||||
./vms/kube-daddy
|
||||
# ./networking/wireguard-kube.nix
|
||||
|
||||
# ./modules/de.nix
|
||||
./modules/displayOff.nix
|
||||
|
|
@ -76,11 +85,17 @@
|
|||
settings = {
|
||||
nix-path = lib.mapAttrsToList (n: _: "${n}=flake:${n}") inputs;
|
||||
flake-registry = ""; # optional, ensures flakes are truly self-contained
|
||||
experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
"pipe-operators"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh = { enable = true; };
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
|
@ -90,14 +105,18 @@
|
|||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users = { "botserver" = import ./home.nix; };
|
||||
users = {
|
||||
"botserver" = import ./home.nix;
|
||||
};
|
||||
};
|
||||
|
||||
# Root uses the exact same module
|
||||
home-manager.users.root = { pkgs, ... }: {
|
||||
home.stateVersion = "24.05";
|
||||
imports = [ ./modules/nvim.nix ];
|
||||
};
|
||||
home-manager.users.root =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.stateVersion = "24.05";
|
||||
imports = [ ./modules/nvim.nix ];
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue