init
This commit is contained in:
commit
2278bffff9
77 changed files with 1174 additions and 0 deletions
7
Modules/System/Application/Gaming/Steam/default.nix
Normal file
7
Modules/System/Application/Gaming/Steam/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./steam.nix
|
||||
];
|
||||
}
|
||||
20
Modules/System/Application/Gaming/Steam/steam.nix
Normal file
20
Modules/System/Application/Gaming/Steam/steam.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.steam;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.steam = {
|
||||
enable = lib.mkEnableOption "Enable steam (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.steam;
|
||||
description = "Package to install for steam.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
7
Modules/System/Application/Gaming/default.nix
Normal file
7
Modules/System/Application/Gaming/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./Steam
|
||||
];
|
||||
}
|
||||
20
Modules/System/Application/Grub/all-grub.nix
Normal file
20
Modules/System/Application/Grub/all-grub.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.all-grub;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.all-grub = {
|
||||
enable = lib.mkEnableOption "Enable all-grub (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.all-grub;
|
||||
description = "Package to install for all-grub.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
8
Modules/System/Application/Grub/default.nix
Normal file
8
Modules/System/Application/Grub/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./all-grub.nix
|
||||
./minegrub.nix
|
||||
];
|
||||
}
|
||||
20
Modules/System/Application/Grub/minegrub.nix
Normal file
20
Modules/System/Application/Grub/minegrub.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.minegrub;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.minegrub = {
|
||||
enable = lib.mkEnableOption "Enable minegrub (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.minegrub;
|
||||
description = "Package to install for minegrub.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./flatpak.nix
|
||||
./wireshark.nix
|
||||
];
|
||||
}
|
||||
20
Modules/System/Application/Special-Applications/flatpak.nix
Normal file
20
Modules/System/Application/Special-Applications/flatpak.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.flatpak;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.flatpak = {
|
||||
enable = lib.mkEnableOption "Enable flatpak (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.flatpak;
|
||||
description = "Package to install for flatpak.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.wireshark;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.wireshark = {
|
||||
enable = lib.mkEnableOption "Enable wireshark (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.wireshark;
|
||||
description = "Package to install for wireshark.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
10
Modules/System/Application/cli/default.nix
Normal file
10
Modules/System/Application/cli/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./docker.nix
|
||||
./openssh.nix
|
||||
./vm.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
20
Modules/System/Application/cli/docker.nix
Normal file
20
Modules/System/Application/cli/docker.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.docker;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.docker = {
|
||||
enable = lib.mkEnableOption "Enable docker (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.docker;
|
||||
description = "Package to install for docker.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
20
Modules/System/Application/cli/openssh.nix
Normal file
20
Modules/System/Application/cli/openssh.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.openssh;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.openssh = {
|
||||
enable = lib.mkEnableOption "Enable openssh (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.openssh;
|
||||
description = "Package to install for openssh.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
20
Modules/System/Application/cli/vm.nix
Normal file
20
Modules/System/Application/cli/vm.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.vm;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.vm = {
|
||||
enable = lib.mkEnableOption "Enable vm (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.vm;
|
||||
description = "Package to install for vm.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
20
Modules/System/Application/cli/zsh.nix
Normal file
20
Modules/System/Application/cli/zsh.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.system.zsh;
|
||||
in
|
||||
{
|
||||
options.nyx-module.system.zsh = {
|
||||
enable = lib.mkEnableOption "Enable zsh (system) module";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.zsh;
|
||||
description = "Package to install for zsh.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
10
Modules/System/Application/default.nix
Normal file
10
Modules/System/Application/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./cli
|
||||
./Gaming
|
||||
./Grub
|
||||
./Special-Applications
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue