feat: Split programs into files
This commit is contained in:
@@ -4,12 +4,9 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
|
||||||
./ryu.nix
|
./ryu.nix
|
||||||
./services
|
./services
|
||||||
./programs
|
./programs
|
||||||
./apps
|
|
||||||
# ./vms
|
|
||||||
];
|
];
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
@@ -19,40 +16,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
appimage = {
|
|
||||||
enable = true;
|
|
||||||
binfmt = true;
|
|
||||||
};
|
|
||||||
localsend = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
obs-studio = {
|
|
||||||
enable = true;
|
|
||||||
enableVirtualCamera = true;
|
|
||||||
plugins = [
|
|
||||||
pkgs.obs-studio-plugins.wlrobs
|
|
||||||
pkgs.obs-studio-plugins.droidcam-obs
|
|
||||||
];
|
|
||||||
};
|
|
||||||
_1password.enable = true;
|
|
||||||
_1password-gui = {
|
|
||||||
enable = true;
|
|
||||||
polkitPolicyOwners = ["servius"];
|
|
||||||
};
|
|
||||||
adb.enable = true;
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# withUWSM = true;
|
# withUWSM = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
yubikey-touch-detector.enable = true;
|
|
||||||
steam = {
|
|
||||||
enable = true;
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
dedicatedServer.openFirewall = true;
|
|
||||||
};
|
|
||||||
nix-ld = {
|
nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
libraries = with pkgs; [
|
libraries = with pkgs; [
|
||||||
|
|||||||
9
nixos/ryu/programs/1password.nix
Normal file
9
nixos/ryu/programs/1password.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{...}: {
|
||||||
|
programs = {
|
||||||
|
_1password.enable = true;
|
||||||
|
_1password-gui = {
|
||||||
|
enable = true;
|
||||||
|
polkitPolicyOwners = ["servius"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
3
nixos/ryu/programs/adb.nix
Normal file
3
nixos/ryu/programs/adb.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.adb.enable = true;
|
||||||
|
}
|
||||||
6
nixos/ryu/programs/appimage.nix
Normal file
6
nixos/ryu/programs/appimage.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.appimage = {
|
||||||
|
enable = true;
|
||||||
|
binfmt = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,6 +4,11 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# ./nh.nix
|
./adb.nix
|
||||||
|
./steam.nix
|
||||||
|
./1password.nix
|
||||||
|
./localsend.nix
|
||||||
|
./appimage.nix
|
||||||
|
./obs-studio.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
6
nixos/ryu/programs/localsend.nix
Normal file
6
nixos/ryu/programs/localsend.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.localsend = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
12
nixos/ryu/programs/obs-studio.nix
Normal file
12
nixos/ryu/programs/obs-studio.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs = {
|
||||||
|
obs-studio = {
|
||||||
|
enable = true;
|
||||||
|
enableVirtualCamera = true;
|
||||||
|
plugins = [
|
||||||
|
pkgs.obs-studio-plugins.wlrobs
|
||||||
|
pkgs.obs-studio-plugins.droidcam-obs
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
8
nixos/ryu/programs/steam.nix
Normal file
8
nixos/ryu/programs/steam.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
dedicatedServer.openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user