refactor(home-manager): separate configuration.nix and home.nix by adding home-manager as a module
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
# 0x29a nixos conifg
|
||||
|
||||
{ pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
# use flakes
|
||||
@@ -149,9 +146,6 @@
|
||||
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
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
# user packages
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
#teamspeak3 # unmaintained qtwebkit
|
||||
fastfetch
|
||||
screenfetch
|
||||
zip
|
||||
@@ -44,6 +43,7 @@
|
||||
usbutils
|
||||
powerline-fonts
|
||||
powerline-symbols
|
||||
nerd-fonts.sauce-code-pro
|
||||
];
|
||||
|
||||
# configure git
|
||||
@@ -52,7 +52,7 @@
|
||||
userName = "aaron";
|
||||
userEmail = "aaron@0x29a.ch";
|
||||
};
|
||||
|
||||
|
||||
# configure zsh theme
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@@ -61,6 +61,7 @@
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
#plugins = [ "git" "ssh-agent" ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -74,7 +75,7 @@
|
||||
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
|
||||
|
||||
# set qt theme
|
||||
qt = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user