cracked steam and restructured flake so that its readable
This commit is contained in:
44
flake.nix
44
flake.nix
@@ -4,6 +4,10 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
|
||||
sls-steam = {
|
||||
url = "github:AceSLS/SLSsteam";
|
||||
};
|
||||
|
||||
elephant.url = "github:abenz1267/elephant";
|
||||
walker = {
|
||||
url = "github:abenz1267/walker";
|
||||
@@ -28,35 +32,29 @@
|
||||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
|
||||
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
|
||||
common = import ./configs/common.nix;
|
||||
|
||||
mkSystem =
|
||||
extraModules:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
common
|
||||
hardwareConfig
|
||||
]
|
||||
++ extraModules;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
./configs/configuration-laptop.nix
|
||||
./configs/common.nix
|
||||
hardwareConfig
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations.hackstation = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
nixosConfigurations = {
|
||||
mobile02 = mkSystem [ ./configs/configuration-laptop.nix ];
|
||||
hackstation = mkSystem [
|
||||
./configs/configuration-pc.nix
|
||||
./configs/common.nix
|
||||
./modules/davinci/davinci.nix
|
||||
./modules/i3/i3.nix
|
||||
hardwareConfig
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user