config/hosts/bolle/default.nix

67 lines
1.9 KiB
Nix
Raw Normal View History

2023-03-01 02:05:51 +01:00
{ config, pkgs, lib, ... }:
{
2023-03-01 02:21:24 +01:00
# Bootloader
2023-03-04 01:42:05 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
2023-03-01 02:05:51 +01:00
imports = [
./hardware-configuration.nix
2023-06-24 19:11:49 +02:00
../../profiles/auto-upgrade.nix
2023-07-19 21:59:13 +02:00
../../profiles/upgrade-diff.nix
2023-07-04 16:28:27 +02:00
../../profiles/sshd.nix
2023-03-01 02:05:51 +01:00
../../users/pbsds
2023-08-27 03:14:01 +02:00
../../users/daniel
2023-03-01 02:05:51 +01:00
2023-03-12 05:14:28 +01:00
../../profiles/shell/base.nix
../../profiles/shell/archives.nix
../../profiles/shell/nix-utils.nix
2023-07-07 18:11:35 +02:00
#../../profiles/shell/binfmt-emu.nix # qemu won't compile...
2023-03-01 02:05:51 +01:00
2023-11-10 22:54:07 +01:00
../../profiles/domeneshop-dyndns
2023-03-01 02:05:51 +01:00
#../../profiles/code-remote
2023-03-12 05:14:28 +01:00
#../../profiles/remote-builders
2023-03-01 02:05:51 +01:00
#../../profiles/autossh-reverse-tunnels
];
2023-10-14 18:23:24 +02:00
services.domeneshop-updater.targets = [ config.networking.fqdn ];
2023-03-01 02:05:51 +01:00
# Networking
networking.networkmanager.enable = true;
2023-07-07 17:48:49 +02:00
2023-03-02 22:26:07 +01:00
/** /
2023-03-01 02:05:51 +01:00
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
#networking.iwd.enable = true
networking.interfaces.eno1.ipv4.addresses = [
{ address = "129.241.105.252"; prefixLength = 23; }
];
2023-03-02 22:26:07 +01:00
networking.defaultGateway.address = "192.241.104.1";
networking.defaultGateway.interface = "eno1";
2023-03-01 02:05:51 +01:00
networking.nameservers = [
"129.241.0.200"
"129.241.0.201"
#"2001:700:300::200"
#"2001:700:300::201"
"8.8.8.8"
"1.1.1.1"
];
2023-03-02 22:26:07 +01:00
/**/
2023-03-01 02:05:51 +01:00
# Installed system packages
environment.systemPackages = with pkgs; [
cage
2023-03-12 05:14:28 +01:00
weston
2023-03-01 02:05:51 +01:00
];
# TODO: remove? Move?
programs.dconf.enable = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
2023-08-27 03:32:02 +02:00
system.stateVersion = "23.05"; # Did you read the comment?
2023-03-01 02:05:51 +01:00
}