feat: update home.nix config

This commit is contained in:
2025-12-10 17:52:39 +01:00
parent f573e31d06
commit c79e4b0b97
3 changed files with 17 additions and 21 deletions

View File

@@ -1,11 +1,12 @@
# 0x29a nixos conifg
{ pkgs, lib, ... }:
{ pkgs, lib, inputs, ... }:
{
imports =
[
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
];
# use flakes
@@ -126,6 +127,14 @@
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ ];
# enable home-manager globally
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
# Add the user's home-manager configuration
home-manager.users.aaron = import ./home.nix;
# install state version
system.stateVersion = "25.11"; # Don't change
}