1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2026-01-27 04:06:28 +01:00

refactor: put users in separate file

This commit is contained in:
Ryan Cao 2023-08-15 11:34:20 +08:00
parent 132956970f
commit af074f2756
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
3 changed files with 26 additions and 21 deletions

View file

@ -2,7 +2,10 @@
description = "Ryan's MacBook Pro flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs = {
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
@ -70,17 +73,15 @@
nixpkgs,
nix-darwin,
home-manager,
attic,
catppuccin,
nyoom,
discord-applemusic-rich-presence,
...
} @ inputs: {
darwinConfigurations.Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
modules = [
./system.nix
./users.nix
home-manager.darwinModules.home-manager
];
specialArgs = inputs;
};
};