28 lines
887 B
Nix
28 lines
887 B
Nix
|
# hosts/YourHostName/default.nix
|
||
|
{ pkgs, home-manager, inputs, ... }@mod-inputs:
|
||
|
{
|
||
|
|
||
|
# Make sure the nix daemon always runs
|
||
|
services.nix-daemon.enable = true;
|
||
|
# Installs a version of nix, that dosen't need "experimental-features = nix-command flakes" in /etc/nix/nix.conf
|
||
|
#services.nix-daemon.package = pkgs.nixFlakes;
|
||
|
|
||
|
# if you use zsh (the default on new macOS installations),
|
||
|
# you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes
|
||
|
programs.zsh.enable = true;
|
||
|
# bash is enabled by default
|
||
|
home-manager = {
|
||
|
extraSpecialArgs = { inherit (mod-inputs) inputs; };
|
||
|
useGlobalPkgs = true;
|
||
|
useUserPackages = true;
|
||
|
users.leonvatthauer = import ./leonvatthauer.nix;
|
||
|
};
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
users.users.leonvatthauer = {
|
||
|
home="/Users/leonvatthauer";
|
||
|
};
|
||
|
fonts.fonts = [
|
||
|
pkgs.mononoki
|
||
|
];
|
||
|
}
|