add super basic nix-darwin configuration for koishi
This commit is contained in:
parent
674a19dd8c
commit
a2c4cdee9b
3 changed files with 63 additions and 0 deletions
27
darwin/koishi/configuration.nix
Normal file
27
darwin/koishi/configuration.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, ... }: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
users.users.lu = {
|
||||
name = "lu";
|
||||
home = "/Users/lu";
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
vendor = {
|
||||
completions.enable = true;
|
||||
config.enable = true;
|
||||
functions.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = 5;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue