sisko: Init new host
This commit is contained in:
40
hosts/sisko/configuration.nix
Normal file
40
hosts/sisko/configuration.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ 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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user