fixed up things
This commit is contained in:
parent
8358dd883e
commit
aaf473a012
4 changed files with 102 additions and 0 deletions
22
flake.nix
22
flake.nix
|
|
@ -8,6 +8,28 @@
|
|||
};
|
||||
|
||||
outputs = inputs@{self, nixpkgs, home-manager, ...}:{
|
||||
nixosConfigurations."fenix" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/fenix
|
||||
./variables.nix
|
||||
{ config.var.username = "maya";
|
||||
config.var.timezone = "Etc/GMT-8"; };
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
vars = {
|
||||
class = "desktop";
|
||||
user = "maya";
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.maya = ./home;
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations."apalapucia" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue