updated: flake.nix to latest changes in hyprland branch
This commit is contained in:
parent
9fdd050b7c
commit
66188ac1f4
1 changed files with 64 additions and 3 deletions
67
flake.nix
67
flake.nix
|
|
@ -5,9 +5,7 @@
|
||||||
|
|
||||||
# Nixpkgs and hardware specific configs
|
# Nixpkgs and hardware specific configs
|
||||||
|
|
||||||
# there was a way to have unstable as an overlay,
|
|
||||||
# will set it back up, lazy rn, for now pick one
|
|
||||||
# nixpkgs.url = "nixpkgs/nixos-23.11";
|
|
||||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
@ -34,3 +32,66 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
description = "SerenityOS v0.3.61";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
|
||||||
|
# Nixpkgs
|
||||||
|
# there was a way to have unstable as an overlay,
|
||||||
|
# will set it back up, lazy rn, for now pick one
|
||||||
|
# nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
hardware.url = "github:nixos/nixos-hardware";
|
||||||
|
|
||||||
|
# declarative disks
|
||||||
|
disko = {
|
||||||
|
url = "github:nix-community/disko";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
# declarative dots
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = {
|
||||||
|
self,
|
||||||
|
hardware,
|
||||||
|
disko,
|
||||||
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
...
|
||||||
|
} @ inputs: let
|
||||||
|
inherit (self) outputs;
|
||||||
|
in {
|
||||||
|
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||||
|
nixosConfigurations = {
|
||||||
|
|
||||||
|
proserpina = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = {inherit inputs outputs;};
|
||||||
|
# > Our main nixos configuration files <
|
||||||
|
modules = [
|
||||||
|
disko.nixosModules.disko
|
||||||
|
./hosts/proserpina/configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
hades = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = {inherit inputs outputs;};
|
||||||
|
# > Our main nixos configuration files <
|
||||||
|
modules = [
|
||||||
|
disko.nixosModules.disko
|
||||||
|
./hosts/proserpina/configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue