modularise the stuff

This commit is contained in:
tristan 2023-05-08 16:59:12 +01:00
parent 011009d22f
commit d1bcbc0fde
16 changed files with 159 additions and 61 deletions

View file

@ -4,33 +4,8 @@
# don't change
home.stateVersion = "22.05";
home.packages = with pkgs; [
gimp
nextcloud-client
godot_4
ardour
blender
musescore
ansible
handbrake
monero-gui
xmrig
#gamer
airshipper
minetest
];
services.nextcloud-client.enable = true;
services.nextcloud-client.startInBackground = true;
wayland.windowManager.hyprland = {
extraConfig = ''
exec-once = ${ pkgs.swaybg }/bin/swaybg -o DP-1 -i ~/Pictures/backgrounds/demonslayer.jpg -o HDMI-A-1 -i ~/Pictures/backgrounds/nier.jpg &
monitor = DP-1, 1920x1080@144,0x0, 1
monitor = HDMI-A-1, 1920x1080@60, 1920x0,1
workspace = DP-1, 1
workspace = HDMI-A-1, 6
wsbind = 1, DP-1
@ -43,8 +18,6 @@
wsbind = 8, HDMI-A-1
wsbind = 9, HDMI-A-1
wsbind = 10,HDMI-A-1
bind = SUPER_SHIFT, X, killactive,
bind = SUPER, E, exec, foot -e aerc
'';
};
}

View file

@ -5,11 +5,6 @@
networking.hostName = "zenix";
services.xserver = {
layout = "gb";
xkbOptions = "caps:escape";
};
services.openssh.enable = true;
networking.firewall.checkReversePath = "loose";
@ -22,18 +17,5 @@
};
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# gamer time
"steam"
"steam-run"
"steam-original"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}