trying more modules

This commit is contained in:
Julian Sutter 2023-08-11 08:41:54 -07:00
parent 71f454ee0b
commit 6943ad6d42
8 changed files with 30 additions and 16 deletions

0
flake.lock generated Normal file → Executable file
View file

View file

@ -20,6 +20,8 @@
./users/jsutter.nix ./users/jsutter.nix
./modules/plasma.nix ./modules/plasma.nix
./modules/dev.nix ./modules/dev.nix
./modules/office.nix
./modules/gaming.nix
]; ];
}; };
aurora = nixpkgs.lib.nixosSystem { aurora = nixpkgs.lib.nixosSystem {

17
modules/gaming.nix Executable file
View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
parsec
bottles
];
# Steam
programs.steam = with pkgs; {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
}

11
modules/office.nix Executable file
View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
libreoffice-qt
gimp
calibre
vmware-horizon-client
];
}

0
users/aksutter.nix Normal file → Executable file
View file

View file

@ -27,13 +27,8 @@ in
hashedPassword = "$6$tvkhGd24G6pVOsWr$j8ZAqSnXPTGwMGmIulU5Puzqd4iKdu8eAMSFis/cPqTW6u2xGQMqPHH1W9IZwKSL6.nS7Jc/NR2VwpPosyXDH/"; hashedPassword = "$6$tvkhGd24G6pVOsWr$j8ZAqSnXPTGwMGmIulU5Puzqd4iKdu8eAMSFis/cPqTW6u2xGQMqPHH1W9IZwKSL6.nS7Jc/NR2VwpPosyXDH/";
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBNVUh+RrcOSMRV6qysnsdPs5AyK8dSm4QhhnwgpikyI jsutter@symbiotrip.com" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBNVUh+RrcOSMRV6qysnsdPs5AyK8dSm4QhhnwgpikyI jsutter@symbiotrip.com" ];
packages = with pkgs; [ packages = with pkgs; [
firefox
git
tor-browser-bundle-bin tor-browser-bundle-bin
nextcloud-client
vlc vlc
steam
vmware-horizon-client
kleopatra kleopatra
pinentry pinentry
arc-theme arc-theme
@ -41,22 +36,11 @@ in
slack slack
direnv direnv
appimage-run appimage-run
libreoffice-qt
deluge deluge
signal-desktop signal-desktop
bottles
calibre
gimp
]; ];
}; };
# Steam
programs.steam = with pkgs; {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
# Android Dev # Android Dev
programs.adb.enable = true; programs.adb.enable = true;

View file

View file