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:
parent
132956970f
commit
af074f2756
3 changed files with 26 additions and 21 deletions
11
flake.nix
11
flake.nix
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue