jovian changes and such
This commit is contained in:
parent
0a3b5d2fca
commit
e39e0534c2
7 changed files with 17 additions and 44 deletions
|
@ -1,13 +1,11 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
fileSystems = {
|
fileSystems."/mnt/Games" = {
|
||||||
"/mnt/Games" = {
|
device = "/dev/disk/by-uuid/cb109a85-846d-4417-9c50-a2279bd20803";
|
||||||
device = "/dev/disk/by-uuid/cb109a85-846d-4417-9c50-a2279bd20803";
|
fsType = "btrfs";
|
||||||
fsType = "btrfs";
|
options = [
|
||||||
options = [
|
"nofail"
|
||||||
"nofail"
|
"nosuid"
|
||||||
"nosuid"
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,6 @@
|
||||||
imports = [ ./desktop ];
|
imports = [ ./desktop ];
|
||||||
|
|
||||||
config = lib.mkIf config.jovian.steam.enable {
|
config = lib.mkIf config.jovian.steam.enable {
|
||||||
# Kernel and hardware
|
|
||||||
boot = {
|
|
||||||
kernelPackages = lib.mkForce pkgs.linuxPackages_jovian;
|
|
||||||
supportedFilesystems.nfs = lib.mkForce false;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.xone.enable = true;
|
|
||||||
|
|
||||||
# Steam and Jovian services
|
# Steam and Jovian services
|
||||||
jovian = {
|
jovian = {
|
||||||
steam = {
|
steam = {
|
||||||
|
@ -27,9 +19,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Disable NFS mounts
|
||||||
|
boot.supportedFilesystems.nfs = lib.mkForce false;
|
||||||
|
|
||||||
|
# Steam input on Wayland desktops
|
||||||
programs.steam.extest.enable = true;
|
programs.steam.extest.enable = true;
|
||||||
|
|
||||||
# Networkmanager for UI compatibility
|
# Xbox controller support
|
||||||
|
hardware.xone.enable = true;
|
||||||
|
|
||||||
|
# NetworkManager for UI compatibility
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Disable conflicting services
|
# Disable conflicting services
|
||||||
|
|
|
@ -7,15 +7,7 @@
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
libvirtd.enable = true;
|
libvirtd.enable = true;
|
||||||
vmware.host.enable = true;
|
#vmware.host.enable = true;
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx = {
|
|
||||||
enable = true;
|
|
||||||
virtualHosts."localhost" = {
|
|
||||||
default = true;
|
|
||||||
root = "/var/www/landing-page";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [ ./nixfox ];
|
|
||||||
|
|
||||||
services.nginx.enable = true;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
{
|
|
||||||
services.nginx = {
|
|
||||||
enable = true;
|
|
||||||
virtualHosts."localhost" = {
|
|
||||||
default = true;
|
|
||||||
root = "/var/www/landing-page";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.virtualisation.vmware.host.enable {
|
config = lib.mkIf config.virtualisation.vmware.host.enable {
|
||||||
virtualisation.vmware.host.extraConfig = ''
|
virtualisation.vmware.host.extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue