Update README.md & Steam
This commit is contained in:
parent
153c1a8359
commit
53ba9f4528
@ -6,8 +6,8 @@
|
|||||||
...
|
...
|
||||||
</h1>
|
</h1>
|
||||||
<h1 align="center">
|
<h1 align="center">
|
||||||
<img width="256" style="image-rendering: crisp-edges;" src="./colors/palette0.png"></img>
|
<img width="256" style="image-rendering: crisp-edges;" src="./modules/shared/colors/palette0.png"></img>
|
||||||
<br>
|
<br>
|
||||||
<img width="256" style="image-rendering: crisp-edges;" src="./colors/palette1p.png"></img>
|
<img width="256" style="image-rendering: crisp-edges;" src="./modules/shared/colors/palette1p.png"></img>
|
||||||
<img width="256" style="image-rendering: crisp-edges;" src="./colors/palette1h.png"></img>
|
<img width="256" style="image-rendering: crisp-edges;" src="./modules/shared/colors/palette1h.png"></img>
|
||||||
</h1>
|
</h1>
|
||||||
|
17
homes/x86_64-linux/sora@avalon/default.nix
Normal file
17
homes/x86_64-linux/sora@avalon/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ ... }: {
|
||||||
|
imports = [ ./display.nix ];
|
||||||
|
|
||||||
|
config.homecfg = {
|
||||||
|
username = "sora";
|
||||||
|
make = {
|
||||||
|
gui = false;
|
||||||
|
cli = true;
|
||||||
|
game = false;
|
||||||
|
};
|
||||||
|
git = {
|
||||||
|
email = "soraefir+git@pm.me";
|
||||||
|
username = "soraefir";
|
||||||
|
key = "4E241635F8EDD2919D2FB44CA362EA0491E2EEA0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
#enable = true;
|
||||||
languages = { };
|
languages = { };
|
||||||
settings = { };
|
settings = { };
|
||||||
themes = { };
|
themes = { };
|
||||||
|
@ -4,12 +4,11 @@
|
|||||||
|
|
||||||
config = lib.mkIf (config.homecfg.make.game) {
|
config = lib.mkIf (config.homecfg.make.game) {
|
||||||
|
|
||||||
# programs.steam.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
custom.simc
|
custom.simc
|
||||||
|
|
||||||
#games
|
#games
|
||||||
|
steam
|
||||||
gamemode
|
gamemode
|
||||||
gamescope
|
gamescope
|
||||||
mangohud
|
mangohud
|
||||||
|
14
modules/nixos/gui/games/default.nix
Normal file
14
modules/nixos/gui/games/default.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
let cfg = config.hostcfg.make.game;
|
||||||
|
in {
|
||||||
|
config = lib.mkIf cfg {
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall =
|
||||||
|
true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
dedicatedServer.openFirewall =
|
||||||
|
true; # Open ports in the firewall for Source Dedicated Server
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -4,10 +4,26 @@ with lib; {
|
|||||||
hostname = mkOption { type = types.str; };
|
hostname = mkOption { type = types.str; };
|
||||||
username = mkOption { type = types.str; };
|
username = mkOption { type = types.str; };
|
||||||
make = {
|
make = {
|
||||||
cli = mkOption { type = types.bool; };
|
cli = mkOption {
|
||||||
gui = mkOption { type = types.bool; };
|
type = types.bool;
|
||||||
virt = mkOption { type = types.bool; };
|
default = true;
|
||||||
power = mkOption { type = types.bool; };
|
};
|
||||||
|
gui = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
virt = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
power = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
game = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
net = {
|
net = {
|
||||||
wlp = {
|
wlp = {
|
||||||
@ -15,7 +31,10 @@ with lib; {
|
|||||||
nif = mkOption { type = types.str; };
|
nif = mkOption { type = types.str; };
|
||||||
};
|
};
|
||||||
wg = {
|
wg = {
|
||||||
enable = mkOption { type = types.bool; };
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
ip4 = mkOption { type = types.str; };
|
ip4 = mkOption { type = types.str; };
|
||||||
ip6 = mkOption { type = types.str; };
|
ip6 = mkOption { type = types.str; };
|
||||||
pk = mkOption { type = types.str; };
|
pk = mkOption { type = types.str; };
|
||||||
|
32
systems/x86_64-linux/avalon/default.nix
Normal file
32
systems/x86_64-linux/avalon/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ config, inputs, ... }: {
|
||||||
|
imports = with inputs.hardware.nixosModules; [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
common-cpu-intel
|
||||||
|
common-gpu-intel
|
||||||
|
];
|
||||||
|
|
||||||
|
hostcfg = {
|
||||||
|
hostname = "avalon";
|
||||||
|
username = "sora";
|
||||||
|
make = {
|
||||||
|
gui = false;
|
||||||
|
cli = true;
|
||||||
|
virt = true;
|
||||||
|
power = false;
|
||||||
|
game = false;
|
||||||
|
};
|
||||||
|
net = {
|
||||||
|
wlp = {
|
||||||
|
enable = false;
|
||||||
|
nif = "";
|
||||||
|
};
|
||||||
|
wg = {
|
||||||
|
enable = true;
|
||||||
|
ip4 = "10.10.1.2/32";
|
||||||
|
ip6 = "fd10:10:10::2/128";
|
||||||
|
pk = config.sops.secrets.avalon_wg_priv.path;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,7 @@
|
|||||||
cli = true;
|
cli = true;
|
||||||
virt = true;
|
virt = true;
|
||||||
power = false;
|
power = false;
|
||||||
|
game = true;
|
||||||
};
|
};
|
||||||
net = {
|
net = {
|
||||||
wlp = {
|
wlp = {
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
cli = true;
|
cli = true;
|
||||||
virt = true;
|
virt = true;
|
||||||
power = true;
|
power = true;
|
||||||
|
game = true;
|
||||||
};
|
};
|
||||||
net = {
|
net = {
|
||||||
wlp = {
|
wlp = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user