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
|
in
|
||||||
linuxZenWMuQSS;
|
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
|
## Left over uncategorized packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
unstable.firefox-beta-bin
|
unstable.firefox-beta-bin
|
||||||
wally-cli
|
wally-cli
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable firewall and pass some ports
|
|
||||||
networking.firewall = {
|
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [ 61377 ];
|
|
||||||
allowedUDPPorts = [ 61377 ];
|
|
||||||
};
|
|
||||||
# Enable ergodox udev rules
|
# Enable ergodox udev rules
|
||||||
hardware.keyboard.zsa.enable = true;
|
hardware.keyboard.zsa.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/levitation.nix
|
./hardware/levitation.nix
|
||||||
|
./machines/levitation.nix
|
||||||
./modules/games.nix
|
./modules/games.nix
|
||||||
./home-linux.nix
|
./home-linux.nix
|
||||||
] ++ desktopModules;
|
] ++ 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