From 673887a37b8d73eadd9c2616a9812e01cf955bc2 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Tue, 23 Jul 2024 17:54:17 +0200 Subject: [PATCH] setup all of home manager --- configuration.nix | 3 +++ flake.nix | 1 - home.nix | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index f28ed88..6fbe30a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -65,6 +65,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. programs.zsh.enable = true; + nixpkgs.config.allowUnfree = true; hardware.bluetooth.enable = true; # enables support for Bluetooth 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: # $ nix search wget + environment.shells = with pkgs; [ zsh ]; + users.defaultUserShell = pkgs.zsh; environment.systemPackages = with pkgs; [ neovim wget diff --git a/flake.nix b/flake.nix index d8b1f03..560b2f3 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,6 @@ lib = nixpkgs.lib; system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - pkgs.config.allowUnfree = true; in { nixosConfigurations = { hp-laptop-lho = lib.nixosSystem { diff --git a/home.nix b/home.nix index e626a92..5ccfa01 100644 --- a/home.nix +++ b/home.nix @@ -17,6 +17,7 @@ # The home.packages option allows you to install Nix packages into your # environment. + nixpkgs.config.allowUnfree = true; home.packages = [ pkgs.zsh # shell pkgs.kitty # terminal