This commit is contained in:
parent
1a25b198ef
commit
781ce2d5e9
24 changed files with 610 additions and 505 deletions
|
@ -1,11 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{ imports = [ ./hardware-configuration.nix ];
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./hardware-configuration.nix];
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
trusted-users = [ "@wheel" ];
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
trusted-users = ["@wheel"];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
gc = {
|
||||
|
@ -17,9 +21,9 @@
|
|||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
networking= {
|
||||
networking = {
|
||||
useNetworkd = true;
|
||||
firewall.allowedTCPPorts = [ 22 ];
|
||||
firewall.allowedTCPPorts = [22];
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
@ -104,5 +108,4 @@
|
|||
};
|
||||
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue