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 = [
../../system
../../system/darwin
];
system.primaryUser = "larstvei";
networking.hostName = "larstvei-macbookpro";
users.users = {
larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;

View File

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