Migrate out system specific configuration
This commit is contained in:
parent
d041b69258
commit
1f052fc5c5
19
desktop.nix
19
desktop.nix
|
@ -30,30 +30,11 @@
|
|||
);
|
||||
in
|
||||
linuxZenWMuQSS;
|
||||
# Define the hostname, enable dhcp
|
||||
networking = {
|
||||
hostName = "levitation";
|
||||
domain = "mccarty.io";
|
||||
useDHCP = false;
|
||||
interfaces.enp5s0.useDHCP = true;
|
||||
};
|
||||
## System specific configuration
|
||||
programs = {
|
||||
steam.enable = true;
|
||||
adb.enable = true;
|
||||
};
|
||||
## Left over uncategorized packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
unstable.firefox-beta-bin
|
||||
wally-cli
|
||||
];
|
||||
|
||||
# Enable firewall and pass some ports
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 61377 ];
|
||||
allowedUDPPorts = [ 61377 ];
|
||||
};
|
||||
# Enable ergodox udev rules
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@
|
|||
};
|
||||
modules = [
|
||||
./hardware/levitation.nix
|
||||
./machines/levitation.nix
|
||||
./modules/games.nix
|
||||
./home-linux.nix
|
||||
] ++ desktopModules;
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
|
||||
# Define the hostname, enable dhcp
|
||||
networking = {
|
||||
hostName = "levitation";
|
||||
domain = "mccarty.io";
|
||||
useDHCP = false;
|
||||
interfaces.enp5s0.useDHCP = true;
|
||||
};
|
||||
|
||||
# Enable programs we don't want on every machine
|
||||
programs = {
|
||||
steam.enable = true;
|
||||
adb.enable = true;
|
||||
};
|
||||
|
||||
# Firewall ports
|
||||
# 61377 - SoulSeek
|
||||
# Enable firewall and pass some ports
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 61377 ];
|
||||
allowedUDPPorts = [ 61377 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue