mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-02-04 05:39:18 +01:00
pocket accept cors
This commit is contained in:
parent
e70aee4ab6
commit
134fe2e279
10 changed files with 320 additions and 219 deletions
|
|
@ -2,13 +2,7 @@
|
|||
# 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 = [
|
||||
|
|
@ -26,6 +20,7 @@
|
|||
|
||||
./users.nix
|
||||
./networking/caddy.nix
|
||||
./modules/buildCache.nix
|
||||
|
||||
# ./modules/de.nix
|
||||
./modules/displayOff.nix
|
||||
|
|
@ -72,17 +67,11 @@
|
|||
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;
|
||||
|
|
@ -92,9 +81,7 @@
|
|||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users = {
|
||||
"botserver" = import ./home.nix;
|
||||
};
|
||||
users = { "botserver" = import ./home.nix; };
|
||||
};
|
||||
|
||||
# Root uses the exact same module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue