Compare commits
No commits in common. "44b11c451bdad7b13d16daf5aa89ba315c0c5d47" and "14e899476b4df4c7572d043550e42736ad3efc0c" have entirely different histories.
44b11c451b
...
14e899476b
2 changed files with 17 additions and 13 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{lib, ...}: {
|
{pkgs, lib, ...}: {
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem pkg.pname [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"factorio-headless"
|
"factorio-headless"
|
||||||
];
|
];
|
||||||
services.factorio = {
|
services.factorio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e47e7cdafffab8b74c2878e02c37696dfcdebca0.tar.gz") {
|
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ab224822391f803e3b58c65f753162361e769075.tar.gz") {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
}).factorio-headless;
|
}).factorio-headless;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,10 @@
|
||||||
networking.hostName = "oscar"; # Define your hostname.
|
networking.hostName = "oscar"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
# Configure network proxy if necessary
|
||||||
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|
@ -98,9 +102,17 @@
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
# If you want to use JACK applications, uncomment this
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
|
|
||||||
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
|
# no need to redefine it in your config for now)
|
||||||
|
#media-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
|
@ -111,14 +123,12 @@
|
||||||
home-manager.users.chandler = { pkgs, ... }: {
|
home-manager.users.chandler = { pkgs, ... }: {
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"android-studio-stable"
|
|
||||||
"discord"
|
"discord"
|
||||||
"factorio-space-age"
|
"factorio-space-age"
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# applications
|
# applications
|
||||||
android-studio
|
|
||||||
blender
|
blender
|
||||||
freecad
|
freecad
|
||||||
frescobaldi
|
frescobaldi
|
||||||
|
|
@ -132,14 +142,10 @@
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
mumble
|
mumble
|
||||||
musescore
|
musescore
|
||||||
|
prismlauncher
|
||||||
prusa-slicer
|
prusa-slicer
|
||||||
qgis
|
qgis
|
||||||
|
|
||||||
# games
|
|
||||||
bolt-launcher
|
|
||||||
prismlauncher
|
|
||||||
scummvm
|
scummvm
|
||||||
# runelite
|
|
||||||
|
|
||||||
# command line applications
|
# command line applications
|
||||||
iperf
|
iperf
|
||||||
|
|
@ -178,9 +184,7 @@
|
||||||
|
|
||||||
# Unfree:
|
# Unfree:
|
||||||
discord
|
discord
|
||||||
(import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e47e7cdafffab8b74c2878e02c37696dfcdebca0.tar.gz") {
|
factorio-space-age
|
||||||
config.allowUnfree = true;
|
|
||||||
}).factorio-space-age
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.thunderbird.enable = true;
|
programs.thunderbird.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue