steam install test
This commit is contained in:
parent
1cc16f08bd
commit
1cb7e41c65
5 changed files with 33 additions and 12 deletions
|
|
@ -34,6 +34,10 @@
|
|||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
steam-config-nix = {
|
||||
url = "github:different-name/steam-config-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
secrets ={
|
||||
url = "git+ssh://git@git.nyxerinys.dev:222/nyxerinys/nix-secrets";
|
||||
flake = false;
|
||||
|
|
|
|||
|
|
@ -33,9 +33,4 @@
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."zfs-import-nix-main" = {
|
||||
wants = [ "keys.mount" ];
|
||||
after = [ "keys.mount" ];
|
||||
};
|
||||
}
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
{
|
||||
boot.zfs.forceImportRoot = false;
|
||||
|
||||
fileSystems."/keys" = {
|
||||
device = "/dev/mapper/zfs-keys";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "nix-root/root";
|
||||
fsType = "zfs";
|
||||
|
|
@ -17,10 +23,10 @@
|
|||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/keys" = {
|
||||
device = "/dev/mapper/zfs-keys";
|
||||
fsType = "ext4";
|
||||
};
|
||||
systemd.services."zfs-import-nix-main" = {
|
||||
wants = [ "keys.mount" ];
|
||||
after = [ "keys.mount" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/nyxerinys" = {
|
||||
device = "nix-main/nyxerinys";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
|
|
|
|||
16
hosts/apollo/steam.nix
Normal file
16
hosts/apollo/steam.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.steam-config-nix.nixosModules.default ];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
protontricks.enable = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
config = {
|
||||
enable = true;
|
||||
defaultCompatTool = pkgs.proton-ge-bin;
|
||||
displayRatesAsBits = false;
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue