2023-02-03 23:06:00 +01:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
|
|
|
|
{ inputs, config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
../common.nix
|
|
|
|
|
./proxy.nix
|
|
|
|
|
./vaultwarden.nix
|
2023-02-04 01:14:39 +01:00
|
|
|
|
./nextcloud.nix
|
2023-02-08 08:13:28 +01:00
|
|
|
|
./mumble.nix
|
2023-02-16 12:11:05 +01:00
|
|
|
|
./microbin.nix
|
2023-02-08 12:48:31 +01:00
|
|
|
|
../modules/neovim.nix
|
|
|
|
|
../modules/zsh.nix
|
2023-02-19 02:04:30 +01:00
|
|
|
|
./synapse.nix
|
2023-03-05 10:56:03 +01:00
|
|
|
|
./penpot.nix
|
2023-02-03 23:06:00 +01:00
|
|
|
|
];
|
|
|
|
|
|
2023-02-08 08:13:28 +01:00
|
|
|
|
#systemd.services.wordsofgod-bot.enable = true;
|
|
|
|
|
|
|
|
|
|
systemd.services.wordsofgod-bot = {
|
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
|
serviceConfig.ExecStart = "${inputs.wordsofgod.packages."x86_64-linux".default}/bin/wordsofgod";
|
|
|
|
|
serviceConfig.EnvironmentFile = "/etc/wordsofgod-bot/wordsofgod.env";
|
|
|
|
|
};
|
|
|
|
|
|
2023-02-03 23:06:00 +01:00
|
|
|
|
jade = {
|
|
|
|
|
neovim.enable = true;
|
|
|
|
|
zsh.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Use the GRUB 2 boot loader.
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
|
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
|
|
|
|
|
2023-02-08 08:13:28 +01:00
|
|
|
|
environment.systemPackages = [ inputs.wordsofgod ];
|
|
|
|
|
|
2023-02-03 23:06:00 +01:00
|
|
|
|
networking.hostName = "schrottserver"; # Define your hostname.
|
|
|
|
|
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
|
|
|
|
|
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
|
|
|
|
|
|
# default settings for stateful data; don't change unless reinstall with newer version
|
|
|
|
|
system.stateVersion = "22.11"; # Did you read the comment?
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|