Add darwin-specific stuff for Sumireko, needs refactoring later

This commit is contained in:
kat 2022-04-11 10:49:37 +01:00 committed by kat
parent 00d85563ba
commit efae399c70
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 111 additions and 15 deletions

13
darwin/configuration.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }: {
services.nix-daemon.enable = true;
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
package = pkgs.nixFlakes;
};
environment.systemPackages = with pkgs; [
awscli
];
system.stateVersion = 4;
}

4
darwin/home-base.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, ... }: {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}

4
darwin/home.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, pkgs, ... }: {
home.packages = with pkgs; [
];
}