You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nixos-config/hosts/nyx/configuration.nix

60 lines
1.5 KiB
Nix

{ config, pkgs, ...}:
let
home-manager = builtins.fetchTarball {
url = "https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz";
# sha256 = "1cp2rpprcfl4mjsrsrpfg6278nf05a0mpl3m0snksvdalfmc5si5";
sha256 = "1kx7rzi8ycm5hsldihr7a2h19402qw454zgpc16m6y8ghcnfbsxm";
};
in {
imports = [
./hardware-configuration.nix
(import "${home-manager}/nixos")
../../common/variables.nix
../../common/system.nix
../../common/grub.nix
../../common/network.nix
../../common/user.nix
../../common/tailscale.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.sandbox = "relaxed";
nix.settings.substituters = [
"http://hemera.tempest.local"
"https://cache.nixos.org/"
];
nix.settings.trusted-public-keys = [
"hemera.tempest.local:Tb4edCxlB4YNGJNnVYrpNkTmG82tCChVNXdes33y2kY="
];
networking.extraHosts = ''
100.80.151.66 hemera hemera.tempest.local
'';
ashe.system.hostname = "nyx";
ashe.system.disk = "/dev/vda";
ashe.user.username = "rose";
ashe.user.description = "Ashelyn Rose";
ashe.user.packages = with pkgs; [
neofetch
bat
lazygit
tmux
psmisc
];
ashe.network.interface = "ens3";
ashe.network.address = "104.168.211.198";
ashe.network.prefix = 16;
ashe.network.gateway = "104.168.218.1";
ashe.network.nameservers = [ "8.8.8.8" ];
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11";
}