forked from poz/niksos
40 lines
1,001 B
Nix
40 lines
1,001 B
Nix
|
{
|
||
|
description = "A very basic flake";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
hyprland.url = "github:hyprwm/Hyprland";
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = inputs@{ self, nixpkgs, hyprland, home-manager, ... }: {
|
||
|
nixosConfigurations.niksos = nixpkgs.lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
modules = [
|
||
|
./configuration.nix
|
||
|
home-manager.nixosModules.home-manager
|
||
|
hyprland.nixosModules.default
|
||
|
{
|
||
|
home-manager.useGlobalPkgs = true;
|
||
|
#home-manager.users.jacek = import ./home.nix;
|
||
|
programs.hyprland = {
|
||
|
enable = true;
|
||
|
xwayland = {
|
||
|
enable = true;
|
||
|
hidpi = true;
|
||
|
};
|
||
|
nvidiaPatches = false;
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
|
||
|
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
|
||
|
|
||
|
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;
|
||
|
};
|
||
|
}
|