migrate blarm to x86, enable firewall
This commit is contained in:
parent
dc33352e5f
commit
7d8e0da9ec
3 changed files with 86 additions and 8 deletions
74
systems/x86_64-linux/blarm/default.nix
Normal file
74
systems/x86_64-linux/blarm/default.nix
Normal file
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
namespace,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
with lib.${namespace};
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = [ "philipp" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
networking.hostName = "blarm";
|
||||
|
||||
# Disable documentation
|
||||
documentation = {
|
||||
nixos.enable = false;
|
||||
man.generateCaches = false;
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
users.users.philipp = {
|
||||
isNormalUser = true;
|
||||
description = "Philipp Böhm";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"caddy"
|
||||
];
|
||||
};
|
||||
|
||||
snowfallorg.users.philipp = {
|
||||
create = true;
|
||||
admin = true;
|
||||
home = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
awesome-flake = {
|
||||
services = {
|
||||
ssh = enabled;
|
||||
caddy = enabled;
|
||||
restic = enabled;
|
||||
};
|
||||
|
||||
container = {
|
||||
invidious = enabled;
|
||||
};
|
||||
|
||||
system.sops = enabled;
|
||||
cli.neovim = enabled;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue