2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-23 12:37:30 +01:00
nixos-config/hosts/sisko/configuration.nix

41 lines
770 B
Nix

{ config, pkgs, lib, ... }:
{
imports =
[
../../base.nix
../../common/metrics-exporters.nix
./hardware-configuration.nix
./desktop.nix
./applications.nix
];
networking = {
hostName = "sisko";
defaultGateway = "192.168.10.1";
interfaces.enp14s0.ipv4 = {
addresses = [
{ address = "192.168.10.172"; prefixLength = 24; }
];
};
hostId = "b716d781";
};
hardware.bluetooth.enable = true;
sops.defaultSopsFile = ../../secrets/sisko/sisko.yaml;
environment.variables = { EDITOR = "vim"; };
nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"copilot.vim"
"steam"
"steam-unwrapped"
];
};
system.stateVersion = "24.11";
}