Skip to content

Commit

Permalink
nix: move home-manager config to base.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
FredeHoey committed Mar 9, 2024
1 parent 690f1c9 commit e3aedd3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 9 additions & 1 deletion systems/base.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{ pkgs, ... }: {
{ pkgs, inputs, ... }: {

imports = [
inputs.home-manager.nixosModules.default
];

home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"bun" = import ../users/bun.nix;
};
};

users.users.bun = {
isNormalUser = true;
extraGroups = [ "wheel" "dialout" "docker" "video" "wireshark" "uucp" ];
Expand Down
8 changes: 0 additions & 8 deletions systems/desktop.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{ pkgs, inputs, ... }: {

imports = [
inputs.home-manager.nixosModules.default
../modules/sway.nix
];

home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"bun" = import ../users/bun.nix;
};
};

fonts.packages = with pkgs; [
noto-fonts
noto-fonts-emoji
Expand Down

0 comments on commit e3aedd3

Please sign in to comment.