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
}

View File

@@ -45,25 +45,18 @@
userEmail = "aaron@0x29a.ch";
};
#programs.starship.enable = true;
#programs.starship.enableZshIntegration = true;
programs.zsh = {
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "sudo" "python" "ansible" ];
theme = "agnoster";
theme = "gentoo";
};
};
## deploy qtile config
#home.file."qtile-config" = {
# target = ".config/qtile/config.py";
# source = "${inputs.qtile-config}/qtile_config/config.py";
# force = true;
#};
home.sessionVariables = {
EDITOR = "vim";
};
@@ -72,5 +65,5 @@
programs.home-manager.enable = true;
# don't change
home.stateVersion = "25.05";
home.stateVersion = "25.11";
}