mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Add in NixOS support
This commit is contained in:
parent
6430f175b2
commit
ebd0e35dff
4 changed files with 260 additions and 0 deletions
18
flake.nix
18
flake.nix
|
|
@ -22,6 +22,24 @@
|
|||
|
||||
}; # end inputs
|
||||
outputs = { self, nixpkgs, darwin, home-manager, nix-homebrew, ... }: {
|
||||
nixosConfigurations.rainbow-planet = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./modules/nixos/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users."gene".imports = [
|
||||
./modules/home-manager
|
||||
./modules/nixos/dconf.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
}; # end nixosConfigurations
|
||||
|
||||
# This is only set to work with x86 macOS right now... that will need to be updated
|
||||
darwinConfigurations.Blue-Rock = darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue