41 lines
770 B
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";
|
||
|
}
|
||
|
|