setup all of home manager

This commit is contained in:
Lorenz Hohermuth 2024-07-23 17:54:17 +02:00
parent 69eb3d3527
commit 673887a37b
3 changed files with 4 additions and 1 deletions

View File

@ -65,6 +65,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
programs.zsh.enable = true; programs.zsh.enable = true;
nixpkgs.config.allowUnfree = true;
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
@ -85,6 +86,8 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim neovim
wget wget

View File

@ -12,7 +12,6 @@
lib = nixpkgs.lib; lib = nixpkgs.lib;
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
pkgs.config.allowUnfree = true;
in { in {
nixosConfigurations = { nixosConfigurations = {
hp-laptop-lho = lib.nixosSystem { hp-laptop-lho = lib.nixosSystem {

View File

@ -17,6 +17,7 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
nixpkgs.config.allowUnfree = true;
home.packages = [ home.packages = [
pkgs.zsh # shell pkgs.zsh # shell
pkgs.kitty # terminal pkgs.kitty # terminal