Added leeuwarden
This commit is contained in:
parent
ca0d2b7cd7
commit
19852e1e20
29
flake.nix
29
flake.nix
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
description = "MMT = Multimachine Manager Technology";
|
||||
description = "Multimachine Manager Technology";
|
||||
|
||||
inputs = {
|
||||
# Attribute set of all the dependencies used in the flake
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland.url = "github:hyprwm/Hyprland"; #added
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, home-manager, hyprland, ... }: {
|
||||
|
@ -21,19 +21,26 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.zonsopkomst = import ./hosts/home/laptop/home.nix;
|
||||
|
||||
# Optionally, use home-manager.extraSpecialArgs to pass
|
||||
# arguments to home.nix
|
||||
|
||||
# TODO Change hostname
|
||||
# Rebuild: sudo nixos-rebuild switch --flake .# or sudo nixos-rebuild switch --flake .#<insert hostname>
|
||||
|
||||
}
|
||||
|
||||
hyprland.nixosModules.default #added
|
||||
{programs.hyprland.enable = true;} #added
|
||||
hyprland.nixosModules.default
|
||||
{programs.hyprland.enable = true;}
|
||||
];
|
||||
};
|
||||
|
||||
nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/home/desktop/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.leeuwarden = import ./hosts/home/desktop/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue