Configuration files for my GNU/Linux installation.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# List packages installed in system profile. To search by name, run:
|
|
|
|
# $ nix-env -qaP | grep wget
|
|
|
|
environment.systemPackages =
|
|
|
|
[ pkgs.git
|
|
|
|
];
|
|
|
|
|
|
|
|
# Necessary for using flakes on this system.
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
|
|
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
|
|
services.nix-daemon.enable = true;
|
|
|
|
|
|
|
|
# Enable zsh
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# $ darwin-rebuild changelog
|
|
|
|
system.stateVersion = 6;
|
|
|
|
|
|
|
|
# Allow unfree (and optionally broken) packages
|
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
# If needed, you can also allow broken packages:
|
|
|
|
# allowBroken = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# The platform the configuration will be used on.
|
|
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
|
|
|
|
|
|
users.users.elal = {
|
|
|
|
name = "elal";
|
|
|
|
home = "/Users/elal";
|
|
|
|
};
|
|
|
|
}
|