mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-04-01 02:00:22 +02:00
WIP: Laptop config
This commit is contained in:
35
flake.nix
35
flake.nix
@@ -1,12 +1,10 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
czkawka-master.url = "path:./flakes/czkawka-master";
|
||||
# czkawka-git.url = "github:qarmin/czkawka?dir=misc/nix";
|
||||
solaar-master.url = "path:./flakes/solaar-master";
|
||||
fet.url = "path:./flakes/fet";
|
||||
czkawka-master.url = "path:./common/flakes/czkawka-master";
|
||||
solaar-master.url = "path:./common/flakes/solaar-master";
|
||||
fet.url = "path:./common/flakes/fet";
|
||||
};
|
||||
|
||||
outputs =
|
||||
@@ -14,22 +12,29 @@
|
||||
self,
|
||||
nixpkgs,
|
||||
nix-flatpak,
|
||||
czkawka-master,
|
||||
solaar-master,
|
||||
fet,
|
||||
...
|
||||
}:
|
||||
}@inputs:
|
||||
let
|
||||
specialArgs = { inherit (inputs) czkawka-master solaar-master fet; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
epiquev2 = nixpkgs.lib.nixosSystem {
|
||||
inherit specialArgs;
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit czkawka-master;
|
||||
inherit solaar-master;
|
||||
inherit fet;
|
||||
};
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./common
|
||||
./desktop
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
inherit specialArgs;
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./common
|
||||
./laptop
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user