34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
# 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’).
|
||
|
||
{ config, pkgs, ... }:
|
||
|
||
{
|
||
imports = [ # Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
../../services/jokesites.nix
|
||
../../services/files.nix
|
||
../../services/jellyfin-proxy.nix
|
||
];
|
||
|
||
# Bootloader.
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
networking.networkmanager.enable = true;
|
||
networking.defaultGateway.address = "192.168.1.1";
|
||
networking.interfaces.enp3s0.ipv4.addresses = [{
|
||
address = "192.168.1.25";
|
||
prefixLength = 24;
|
||
}];
|
||
networking.nameservers = [ "192.168.1.69" "1.1.1.1" ];
|
||
# Set your time zone.
|
||
time.timeZone = "Europe/Oslo";
|
||
|
||
users.users.hephaestus.openssh.authorizedKeys.keys = [
|
||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHlpPX7ogQo0dG0Ze4VSsAAJO+Z7w/wxGFZ+vuTHwDT9 forgejo-runner"
|
||
];
|
||
system.stateVersion = "24.11"; # Did you read the comment?
|
||
|
||
}
|