mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add darwin hosts to folder structure
This commit is contained in:
parent
33046cb4a3
commit
e2fefda51c
22 changed files with 504 additions and 345 deletions
9
profiles/darwin/common/home/default.nix
Normal file
9
profiles/darwin/common/home/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ self, ... }:
|
||||
let
|
||||
profilesPath = "${self}/profiles";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${profilesPath}/common/home/settings.nix"
|
||||
];
|
||||
}
|
||||
20
profiles/darwin/common/nixos/default.nix
Normal file
20
profiles/darwin/common/nixos/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ self, ... }:
|
||||
let
|
||||
profilesPath = "${self}/profiles";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${profilesPath}/common/nixos/home-manager.nix"
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
nixpkgs = {
|
||||
hostPlatform = "x86_64-darwin";
|
||||
inherit (outputs) overlays;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = 4;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue