Try this
This commit is contained in:
parent
bd3403a150
commit
c0305cc4c5
@ -6,9 +6,6 @@ let
|
|||||||
in {
|
in {
|
||||||
imports = [ <home-manager/nixos> ];
|
imports = [ <home-manager/nixos> ];
|
||||||
|
|
||||||
# allow unfree packages as well
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# root home
|
# root home
|
||||||
home-manager.users.root = { pkgs, ... }: {
|
home-manager.users.root = { pkgs, ... }: {
|
||||||
home.username = "root";
|
home.username = "root";
|
||||||
@ -28,6 +25,8 @@ in {
|
|||||||
home.username = "${user}";
|
home.username = "${user}";
|
||||||
home.homeDirectory = "/home/${user}";
|
home.homeDirectory = "/home/${user}";
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
# allow unfree packages as well
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox # browser
|
firefox # browser
|
||||||
kitty # terminal
|
kitty # terminal
|
||||||
|
Reference in New Issue
Block a user