wow it actually is sorta workable now
This commit is contained in:
parent
15c4cae652
commit
8a58079706
15 changed files with 688 additions and 140 deletions
61
flake.nix
61
flake.nix
|
@ -1,6 +1,37 @@
|
|||
{
|
||||
description = "System Configuration Flake";
|
||||
|
||||
|
||||
outputs = inputs@{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
hyprland,
|
||||
eww,
|
||||
osu-nixos,
|
||||
...
|
||||
} : {
|
||||
|
||||
nixosConfigurations = {
|
||||
lappy = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
|
||||
./configuration.nix
|
||||
./hosts/lappy/default.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
@ -12,33 +43,7 @@
|
|||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
hyprland,
|
||||
...
|
||||
} @inputs : {
|
||||
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
#config.allowUnfree = true;
|
||||
};
|
||||
|
||||
stitchynyan = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
{
|
||||
_module.args = {inherit inputs;};
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
}
|
||||
];
|
||||
};
|
||||
eww.url = "github:elkowar/eww";
|
||||
osu-nixos.url = "github:Asqiir/osu-nixos";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue