mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
refactoring
This commit is contained in:
@@ -11,6 +11,8 @@ let
|
||||
...
|
||||
}:
|
||||
{
|
||||
device.type = "primary";
|
||||
|
||||
imports =
|
||||
with inputs;
|
||||
[
|
||||
|
||||
@@ -11,7 +11,7 @@ let
|
||||
...
|
||||
}:
|
||||
{
|
||||
system.nixos.label = "stock";
|
||||
device.type = "primary";
|
||||
|
||||
imports = with inputs; [
|
||||
self.nixosModules.default
|
||||
|
||||
@@ -11,6 +11,8 @@ let
|
||||
...
|
||||
}:
|
||||
{
|
||||
device.type = "primary";
|
||||
|
||||
imports = with inputs; [
|
||||
./hardware/mini-pc.nix
|
||||
./hardware/logitech.nix
|
||||
|
||||
+2
-4
@@ -7,10 +7,9 @@ let
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; }; # temp
|
||||
in
|
||||
{
|
||||
device.type = "server";
|
||||
|
||||
imports = with inputs; [
|
||||
sops-nix.nixosModules.sops
|
||||
./hardware/server.nix
|
||||
@@ -147,7 +146,6 @@ let
|
||||
};
|
||||
calibre-web = {
|
||||
enable = true;
|
||||
#package = last-stable.calibre-web; # temp
|
||||
group = "users";
|
||||
user = "${inputs.zeroq.devices.admin}";
|
||||
options = {
|
||||
|
||||
@@ -9,6 +9,8 @@ let
|
||||
...
|
||||
}:
|
||||
{
|
||||
device.type = "vds";
|
||||
|
||||
imports =
|
||||
with inputs;
|
||||
[
|
||||
|
||||
@@ -9,6 +9,7 @@ let
|
||||
...
|
||||
}:
|
||||
{
|
||||
device.type = "wsl";
|
||||
|
||||
imports = with inputs; [
|
||||
nixos-wsl.nixosModules.default
|
||||
|
||||
Reference in New Issue
Block a user