mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 21:00:13 +00:00
Move user specific stuff to host
This commit is contained in:
parent
205f731bd1
commit
c81438603c
@ -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;
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user