added nixvim

This commit is contained in:
willifan 2024-09-19 17:12:09 +02:00
parent 0117839c8f
commit 0c403decf4
79 changed files with 640 additions and 255 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
# environment.systemPackages = with pkgs; [

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
imports = [

View file

@ -1,9 +0,0 @@
{ pkgs, ... }:
{
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
networking.firewall = {
enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, ... }:
{ pkgs-unstable, ... }:
{
services.gitea = {

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ lib, ... }:
{
services.invidious = {
enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, ...}:
{ pkgs-unstable, ...}:
{
services.minecraft-server = {
eula = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
services.radicale = {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
services.syncthing = {
enable = true;

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{ ... }:
{
imports = [
./hardware-configuration.nix
#./disko.nix
];
}
}

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{ ... }:
{
imports = [
./hardware-configuration.nix
./disko.nix
];
}
}

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
system.autoUpgrade = {
enable = true;
@ -8,4 +8,4 @@
randomizedDelaySec = "5min";
fixedRandomDelay = true;
};
}
}

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, hostname, ... }:
{ hostname, ... }:
{
imports = [
./autoupdate.nix

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
nix.gc = {
automatic = true;
@ -6,4 +6,4 @@
persistent = true;
options = "--delete-older-than 10d";
};
}
}

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{ ... }:
{
nix.optimise = {
automatic = true;
dates = [ "05:00" ];
};
}
}

View file

@ -1,8 +1,8 @@
{ pkgs, hostname, type, ... }:
{ hostname, type, ... }:
{
imports = [
./common
./${type}
./${hostname}
];
}
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
boot = {
loader.systemd-boot.enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, hostname, ... }:
{ hostname, ... }:
{
networking.hostName = hostname;
imports = [

View file

@ -3,10 +3,5 @@
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
}
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
services.syncthing = {
enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
boot = {
loader.systemd-boot.enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
services.openssh = {
@ -17,4 +17,4 @@
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMRriQfw3pusl04fGhCNVoRRpye71ZwkDXAtKB/FP1DLXA4cYrwjLzv/fG1hXi7lAMp2vLiABAg/UaTE8roGzlt62XsFNwc1TI5M8m67J0kLkCtz3MkIixe/3GOFXr03g80DPncLyoIYPvvNd/TftTBK4yrrZPvMJaRrZhW/QdLPQpdHalcNRZ4bnBOCtCoqQ6RGrRi2EeKaJDYIFNl13b9FxrXEJcXnbSDdr1KI3q7a+vkefI2knUf2Uk7ufOWTQ1aqc0heGtCNlHzwZUzW/dfrpPmoVPq3Fqxqd9uXqxMk1Z3VnOwWcK3VXfzzBXKTsX0MaUgF1EqxibkYs9bDZqLEXoRucBqk3wwMPy8RJXqQOupoqa2xEOoduBf1qDHEEm69coHCpPm2mQVUrwsPrmTHmOjh9ir0mkVBDRgHvhq/ctQTVO5/SE2NCgPdlvUV5s44LLsUyxBp5JWwXZWlVys+7Dhil6mtRDcH4CXceJn0VZ61Zv2jrCTxQjKsroitSkNbpAkKajQ9moLMAblsSwJzl3uvJJ3ydlxjZefwTO/GjyuJMY2sIU2Tu0YbIVgMyq5L782LduVlyWj+RLWoEu19OfMqQvTWhJnQPAbR82qGzlfTGRLUxoY+G5MYipJwgrBQ2TnpWvfpTrZxFrglSfekz0v54lWzNZpW+irImh4w== willifan@proton.me"
];
}
}