Move user specific stuff to host

This commit is contained in:
larstvei 2025-08-23 16:04:21 +02:00
parent 205f731bd1
commit c81438603c
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,21 @@
{ emacs-larstvei, ... }: { pkgs, emacs-larstvei, ... }:
{ {
imports = [ imports = [
../../system ../../system
../../system/darwin ../../system/darwin
]; ];
system.primaryUser = "larstvei";
networking.hostName = "larstvei-macbookpro"; networking.hostName = "larstvei-macbookpro";
users.users = {
larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
};
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;

View File

@ -5,19 +5,10 @@
nix.linux-builder.enable = true; nix.linux-builder.enable = true;
users.users = {
larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
};
programs.fish.enable = true; programs.fish.enable = true;
environment.shells = [ pkgs.fish ]; environment.shells = [ pkgs.fish ];
system = { system = {
primaryUser = "larstvei";
stateVersion = 4; stateVersion = 4;
keyboard = { keyboard = {