35 lines
601 B
Nix
35 lines
601 B
Nix
{ pkgs, nix, nixpkgs, config, lib, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs;
|
|
[
|
|
home-manager
|
|
];
|
|
|
|
fonts = {
|
|
fontDir.enable = true;
|
|
fonts = with pkgs; [
|
|
fira-code
|
|
];
|
|
};
|
|
|
|
programs.fish.enable = true;
|
|
|
|
system.stateVersion = 4;
|
|
users = {
|
|
users.salar = {
|
|
home = /Users/salar;
|
|
};
|
|
};
|
|
|
|
nix = {
|
|
nixPath = lib.mkForce [
|
|
"nixpkgs=${nixpkgs}"
|
|
];
|
|
package = pkgs.nixUnstable;
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
distributedBuilds = false;
|
|
};
|
|
services.nix-daemon.enable = true;
|
|
}
|