It still does not work, I wonder why
This commit is contained in:
parent
c2796dcfb9
commit
e6e98a16de
6 changed files with 303 additions and 14 deletions
35
flake.nix
35
flake.nix
|
@ -6,31 +6,44 @@
|
|||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
home-manager-unstable = {
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager-unstable,
|
||||
hyprland
|
||||
home-manager,
|
||||
hyprland,
|
||||
...
|
||||
}: {
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
#config.allowUnfree = true;
|
||||
};
|
||||
|
||||
|
||||
nixosConfigurations = {
|
||||
stitchynyan = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
||||
hostname = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./configuration.nix
|
||||
home-manager-unstable.nixosModules.home-manager
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = false;
|
||||
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix ;
|
||||
}
|
||||
hyprland.homeManagerModules.default
|
||||
{wayland.windowManager.hyprland.enable = true;}
|
||||
{wayland.windowManager.hyprland.enable = true;}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue