Initial commit
This commit is contained in:
commit
041ea0528f
12 files changed
+603
No files matched your search
@@ -0,0 +1,52 @@
|
||||
{
|
||||
description = "grey's custom NixOS config";
|
||||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nh = {
|
||||
url = "github:nix-community/nh";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
url = "github:youwen5/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
plasma-manager = {
|
||||
url = "github:nix-community/plasma-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {self,nixpkgs,home-manager,plasma-manager,...}@inputs: {
|
||||
nixosConfigurations = builtins.listToAttrs (map (name: {
|
||||
inherit name;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./hosts/${name}
|
||||
home-manager.nixosModules.default {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.grey = ./hosts/${name}/home.nix;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
system = "x86-64-linux";
|
||||
};
|
||||
};
|
||||
}) ["takamaki" "kitagawa" "nixos-vm"]);
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user