wow it actually is sorta workable now

This commit is contained in:
stitchy 2024-01-21 01:53:24 +00:00
parent 15c4cae652
commit 8a58079706
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
15 changed files with 688 additions and 140 deletions

View file

@ -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";
};
}