mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-25 09:32:30 +08:00
reorg
This commit is contained in:
parent
bd5cde341a
commit
877677ab59
1 changed files with 8 additions and 7 deletions
15
flake.nix
15
flake.nix
|
|
@ -39,12 +39,7 @@
|
|||
./nix-darwin
|
||||
./activate.nix
|
||||
];
|
||||
perSystem = { pkgs, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = [ pkgs.nixpkgs-fmt ];
|
||||
};
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
};
|
||||
|
||||
myUserName = "srid";
|
||||
flake = {
|
||||
# Configurations for Linux (NixOS) systems
|
||||
|
|
@ -70,11 +65,17 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Configurations for macOS systems (using nix-darwin)
|
||||
darwinConfigurations = {
|
||||
default = self.lib-darwin.mkMacosSystem;
|
||||
};
|
||||
};
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = [ pkgs.nixpkgs-fmt ];
|
||||
};
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue