Compare commits
5 commits
14e899476b
...
44b11c451b
| Author | SHA1 | Date | |
|---|---|---|---|
| 44b11c451b | |||
| 09ed1bed43 | |||
| 11f31a8356 | |||
| 0afc65007b | |||
| 577177e0f1 |
2 changed files with 13 additions and 17 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{pkgs, lib, ...}: {
|
{lib, ...}: {
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem pkg.pname [
|
||||||
"factorio-headless"
|
"factorio-headless"
|
||||||
];
|
];
|
||||||
services.factorio = {
|
services.factorio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ab224822391f803e3b58c65f753162361e769075.tar.gz") {
|
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e47e7cdafffab8b74c2878e02c37696dfcdebca0.tar.gz") {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
}).factorio-headless;
|
}).factorio-headless;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
|
||||||
|
|
@ -44,10 +44,6 @@
|
||||||
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;
|
||||||
|
|
||||||
|
|
@ -102,17 +98,9 @@
|
||||||
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’.
|
||||||
|
|
@ -123,12 +111,14 @@
|
||||||
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
|
||||||
|
|
@ -142,10 +132,14 @@
|
||||||
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
|
||||||
|
|
@ -184,7 +178,9 @@
|
||||||
|
|
||||||
# Unfree:
|
# Unfree:
|
||||||
discord
|
discord
|
||||||
factorio-space-age
|
(import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e47e7cdafffab8b74c2878e02c37696dfcdebca0.tar.gz") {
|
||||||
|
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