Update presets

master
Sven Slootweg 6 years ago
parent 60f597b07c
commit 9d3309c6be

@ -4,7 +4,7 @@ packages: {config, ...}: {
nixpkgs.electrum nixpkgs.electrum
# Browsers # Browsers
nixpkgs.chromium unstable.chromium
nixpkgs.firefox nixpkgs.firefox
nixpkgs.w3m nixpkgs.w3m
@ -23,20 +23,36 @@ packages: {config, ...}: {
unstable.atom unstable.atom
nixpkgs.geany nixpkgs.geany
nixpkgs.sqlitebrowser nixpkgs.sqlitebrowser
unstable.pgadmin
nixpkgs.gitAndTools.gitFull nixpkgs.gitAndTools.gitFull
nixpkgs.meld nixpkgs.meld
nixpkgs.radare2 nixpkgs.radare2
nixpkgs.wxhexeditor nixpkgs.wxhexeditor
nixpkgs.gdb (nixpkgs.gdb.override {
python = nixpkgs.python;
})
# Embedded
nixpkgs.arduino
unstable.platformio
unstable.openocd
unstable.gcc-arm-embedded
# Python
nixpkgs.python3
nixpkgs.python3Packages.pip
# Node.js # Node.js
nixpkgs.nodejs-6_x nixpkgs.nodejs-8_x
unstable.electron unstable.electron
nixpkgs.nodePackages_6_x.node2nix nixpkgs.nodePackages_6_x.node2nix
nixpkgs.flow
# Rust # Rust
nixpkgs.rustChannels.nightly.rust /* nixpkgs.rustChannels.nightly.rust
nixpkgs.rustChannels.nightly.rust-src nixpkgs.rustChannels.nightly.rust-src */
(nixpkgs.rustChannelOf { date = "2018-04-30"; channel = "nightly"; }).rust
(nixpkgs.rustChannelOf { date = "2018-04-30"; channel = "nightly"; }).rust-src
# Downloaders and filesharing # Downloaders and filesharing
(unstable.python35Packages.youtube-dl.override { (unstable.python35Packages.youtube-dl.override {
@ -48,7 +64,10 @@ packages: {config, ...}: {
nixpkgs.filezilla nixpkgs.filezilla
# Emulation # Emulation
nixpkgs.wineUnstable /*(nixpkgs.wineUnstable.override { wineBuild = "wineWow"; }) <- CORRECT ONE!*/
/*(nixpkgs.wineUnstable.override { wineBuild = "wine64"; })*/
/*nixpkgs.wineUnstable <- latest*/
nixpkgs.winetricks
nixpkgs.dosbox nixpkgs.dosbox
nixpkgs.playonlinux nixpkgs.playonlinux
@ -56,6 +75,9 @@ packages: {config, ...}: {
nixpkgs.simutrans nixpkgs.simutrans
unstable.openttd unstable.openttd
unstable.voxelands unstable.voxelands
(nixpkgs.dwarf-fortress.override {
theme = nixpkgs.dwarf-fortress-packages.phoebus-theme;
})
# File and archive management # File and archive management
nixpkgs.p7zip nixpkgs.p7zip
@ -69,19 +91,20 @@ packages: {config, ...}: {
nixpkgs.konversation nixpkgs.konversation
# Productivity # Productivity
nixpkgs.libreoffice nixpkgs.libreoffice-fresh
nixpkgs.gimp nixpkgs.gimp
nixpkgs.inkscape nixpkgs.inkscape
nixpkgs.audacity nixpkgs.audacity
nixpkgs.shutter nixpkgs.shutter
nixpkgs.jekyll nixpkgs.jekyll
nixpkgs.asciinema
# Multimedia # Multimedia
# Video # Video
nixpkgs.mplayer nixpkgs.mplayer
nixpkgs.mpv nixpkgs.mpv
nixpkgs.vlc nixpkgs.vlc
nixpkgs.kodi #nixpkgs.kodi
# Audio # Audio
nixpkgs.tomahawk nixpkgs.tomahawk
@ -95,6 +118,11 @@ packages: {config, ...}: {
# Images # Images
nixpkgs.gqview nixpkgs.gqview
nixpkgs.gwenview
nixpkgs.kdeApplications.okular
# 3D Modelling
unstable.blender
# Utilities # Utilities
nixpkgs.mediainfo nixpkgs.mediainfo
@ -126,6 +154,7 @@ packages: {config, ...}: {
# Peripherals # Peripherals
nixpkgs.pciutils nixpkgs.pciutils
nixpkgs.usbutils nixpkgs.usbutils
nixpkgs.lm_sensors
# Graphics # Graphics
nixpkgs.glxinfo nixpkgs.glxinfo
@ -134,12 +163,12 @@ packages: {config, ...}: {
nixpkgs.config = { nixpkgs.config = {
firefox = { firefox = {
enableGoogleTalkPlugin = true; enableGoogleTalkPlugin = true;
enableAdobeFlash = true; #enableAdobeFlash = true;
jre = true; jre = true;
}; };
chromium = { chromium = {
enablePepperFlash = true; #enablePepperFlash = true;
enablePepperPDF = true; enablePepperPDF = true;
jre = true; jre = true;
}; };
@ -150,6 +179,7 @@ packages: {config, ...}: {
enable = true; enable = true;
package = packages.nixpkgs.postgresql95; package = packages.nixpkgs.postgresql95;
authentication = '' authentication = ''
local hydra all ident map=hydra-users
local all all ident local all all ident
host all all 127.0.0.1/32 md5 host all all 127.0.0.1/32 md5
''; '';

@ -24,6 +24,10 @@ packages: {config, ...}: {
nixpkgs.vistafonts nixpkgs.vistafonts
nixpkgs.unifont nixpkgs.unifont
nixpkgs.freefont_ttf nixpkgs.freefont_ttf
nixpkgs.fira
nixpkgs.fira-code
nixpkgs.fira-mono
nixpkgs.hack-font
]; ];
}; };

@ -10,4 +10,9 @@ packages: {config, ...}: {
}; };
}; };
}; };
environment.systemPackages = with packages; [
nixpkgs.kate
nixpkgs.ark
];
} }

@ -29,6 +29,9 @@ packages: {config, ...}: {
nixpkgs.gnome3.dconf nixpkgs.gnome3.dconf
nixpkgs.gnome3.dconf-editor nixpkgs.gnome3.dconf-editor
nixpkgs.polkit_gnome nixpkgs.polkit_gnome
# Third-party tools that are only needed under XFCE
nixpkgs.blueman
]; ];
services = { services = {

@ -1,9 +1,16 @@
packages: {config, ...}: { packages: {config, ...}: {
environment.systemPackages = with packages; [ environment.systemPackages = with packages; [
nixpkgs.multimc unstable.multimc
myNixpkgs.xonotic nixpkgs.morepkgs.xonotic
/*myNixpkgs.dungeons-3*/
myNixpkgs.stardew-valley myNixpkgs.stardew-valley
myNixpkgs.starbound myNixpkgs.starbound
myNixpkgs.prison-architect
myNixpkgs.rimworld
myNixpkgs.epic-pinball
myNixpkgs.technic-launcher
myNixpkgs.ftb-launcher
myNixpkgs.atlauncher
#(unstable.stdenv.lib.overrideDerivation unstable.factorio (oldAttrs: { #(unstable.stdenv.lib.overrideDerivation unstable.factorio (oldAttrs: {
# version = "0.4.2.1"; # version = "0.4.2.1";
# name = "factorio-alpha-0.4.2.1"; # name = "factorio-alpha-0.4.2.1";

@ -1,9 +1,11 @@
packages: {config, ...}: { packages: {config, ...}: {
environment.systemPackages = with packages; [ environment.systemPackages = with packages; [
nixpkgs.amdappsdk # For OpenCL support, at least theoretically... #nixpkgs.amdappsdk # For OpenCL support, at least theoretically...
]; ];
services.xserver = { services.xserver = {
videoDrivers = ["ati_unfree"]; videoDrivers = [/*"amdgpu-pro"*/ /*"amdgpu"*/ "ati" /*"ati_unfree"*/];
}; };
boot.blacklistedKernelModules = [ "amdgpu" ];
} }

@ -53,7 +53,7 @@ packages: {config, ...}: {
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
boot = { /*boot = {
plymouth.enable = true; plymouth.enable = true;
}; };*/
} }

@ -0,0 +1,3 @@
packages: {config, ...}: {
hardware.bluetooth.enable = true;
}

@ -3,6 +3,7 @@ packages: {config, ...}: {
printing = with packages; { printing = with packages; {
enable = true; enable = true;
drivers = [ nixpkgs.gutenprint ]; drivers = [ nixpkgs.gutenprint ];
gutenprint = true; # See NixOS/nixpkgs#28273
}; };
}; };
} }

@ -1,4 +1,6 @@
packages: {config, ...}: { packages: {config, ...}: {
sound.enable = true;
environment.systemPackages = with packages; [ environment.systemPackages = with packages; [
nixpkgs.pavucontrol nixpkgs.pavucontrol
nixpkgs.xfce.xfce4_pulseaudio_plugin # FIXME: Only enable when running XFCE nixpkgs.xfce.xfce4_pulseaudio_plugin # FIXME: Only enable when running XFCE

@ -0,0 +1,10 @@
packages: {config, ...}: {
/* FIXME: Switch to using systemd.enableCgroupAccounting in NixOS 18.09; ref https://github.com/NixOS/nixpkgs/pull/36772 */
systemd.extraConfig = ''
DefaultCPUAccounting=yes
DefaultIOAccounting=yes
DefaultBlockIOAccounting=yes
DefaultMemoryAccounting=yes
DefaultTasksAccounting=yes
'';
}

@ -0,0 +1,13 @@
packages: {config, pkgs, ...}: {
/* The following enables wpa_cli usage, and disables declarative network specification */
networking = {
wireless = {
enable = true;
userControlled.enable = true;
};
networkmanager.enable = pkgs.lib.mkForce false;
};
environment.etc."wpa_supplicant.conf".text = "ctrl_interface=/run/wpa_supplicant";
}
Loading…
Cancel
Save