Skip to content

Commit

Permalink
orb-nixos: home is managed manually via home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
elohmeier committed Oct 29, 2024
1 parent 270c683 commit 2a5caa2
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions modules/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,36 +109,18 @@ in
# build using `NIX_CONFIG="extra-experimental-features = nix-command flakes" nix shell nixpkgs#git --command nix build /Users/enno/repos/ptsd#nixosConfigurations.orb-nixos.config.system.build.topLevel -L`
# activate using `NIX_CONFIG="extra-experimental-features = nix-command flakes" nix shell nixpkgs#git --command nixos-rebuild --flake /Users/enno/repos/ptsd#orb-nixos --use-remote-sudo switch`
orb-nixos = nixosSystemFor "aarch64-linux" [
inputs.home-manager.nixosModule
self.nixosModules.defaults
self.nixosModules.orbstack-defaults
(
{ pkgs, pkgsUnstable, ... }:
{ pkgs, ... }:
{
networking.hostName = "nixos";
users.defaultUserShell = pkgs.fish;
programs.fish.enable = true;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs.pkgsUnstable = pkgsUnstable;
nix.settings.trusted-users = [
"root"
"enno"
];

# username must match the one specified in ./orbstack-defaults/orbstack.nix
home-manager.users.enno =
{ nixosConfig, pkgs, ... }:
{
home.stateVersion = nixosConfig.system.stateVersion;
imports = [
self.homeModules.fish
self.homeModules.git
self.homeModules.neovim
self.homeModules.orb
self.homeModules.ssh
self.homeModules.tmux
];
};
}
)
];
Expand Down

0 comments on commit 2a5caa2

Please sign in to comment.