Set up astyanax host
This commit is contained in:
46
hosts/astyanax/configuration.nix
Normal file
46
hosts/astyanax/configuration.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
imports = [
|
||||
./hard.nix
|
||||
../../modules/bootloader.nix
|
||||
../../modules/disko.zfs-encrypted-root.nix
|
||||
../../modules/keyboard
|
||||
../../modules/networking.nix
|
||||
../../modules/users.nix
|
||||
../../modules/audio.nix
|
||||
../../modules/printing.nix
|
||||
../../modules/localization.nix
|
||||
../../modules/fonts
|
||||
../../modules/ssh/hardened-openssh.nix
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
services.xserver = {
|
||||
displayManager.gdm.enable = true;
|
||||
displayManager.gdm.wayland = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.h = ../../home/hosts/astyanax;
|
||||
};
|
||||
|
||||
networking.hostId = "80eef97e";
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
harden = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user