update nixos
This commit is contained in:
parent
a0afc38771
commit
1bb964cd15
22
157175.patch
Normal file
22
157175.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From c362bf9fda1878e18dd65797ac2078a6e0fee04e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jonathan Ringer <jonringer117@gmail.com>
|
||||||
|
Date: Fri, 28 Jan 2022 09:42:47 -0800
|
||||||
|
Subject: [PATCH] python3Packages.sentry-sdk: disable web test
|
||||||
|
|
||||||
|
---
|
||||||
|
pkgs/development/python-modules/sentry-sdk/default.nix | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix
|
||||||
|
index a59ec10be0378..26ccb1aacc51c 100644
|
||||||
|
--- a/pkgs/development/python-modules/sentry-sdk/default.nix
|
||||||
|
+++ b/pkgs/development/python-modules/sentry-sdk/default.nix
|
||||||
|
@@ -109,6 +109,8 @@ buildPythonPackage rec {
|
||||||
|
"test_circular_references"
|
||||||
|
# Failing wsgi test
|
||||||
|
"test_session_mode_defaults_to_request_mode_in_wsgi_handler"
|
||||||
|
+ # Network requests to public web
|
||||||
|
+ "test_crumb_capture"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
@ -71,7 +71,7 @@
|
|||||||
hardware.uinput.enable = true;
|
hardware.uinput.enable = true;
|
||||||
users.extraUsers.gebner.extraGroups = [ "input" "tty" "audio" "video" "uinput" ];
|
users.extraUsers.gebner.extraGroups = [ "input" "tty" "audio" "video" "uinput" ];
|
||||||
|
|
||||||
services.dbus.packages = with pkgs; [ gnome3.gcr ];
|
services.dbus.packages = with pkgs; [ gcr ];
|
||||||
services.udev.packages = [ pkgs.gnome3.gnome-settings-daemon ];
|
services.udev.packages = [ pkgs.gnome3.gnome-settings-daemon ];
|
||||||
|
|
||||||
# copied from gnome3 module
|
# copied from gnome3 module
|
||||||
@ -79,12 +79,12 @@
|
|||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
services.accounts-daemon.enable = true;
|
services.accounts-daemon.enable = true;
|
||||||
services.geoclue2.enable = true;
|
services.geoclue2.enable = true;
|
||||||
services.gnome3.at-spi2-core.enable = true;
|
services.gnome.at-spi2-core.enable = true;
|
||||||
services.gnome3.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
programs.seahorse.enable = true;
|
programs.seahorse.enable = true;
|
||||||
services.gnome3.sushi.enable = true;
|
services.gnome.sushi.enable = true;
|
||||||
services.gnome3.gnome-settings-daemon.enable = true;
|
services.gnome.gnome-settings-daemon.enable = true;
|
||||||
services.telepathy.enable = true;
|
services.telepathy.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
services.upower.enable = config.powerManagement.enable;
|
services.upower.enable = config.powerManagement.enable;
|
||||||
|
@ -9,9 +9,11 @@
|
|||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
nix.useSandbox = true;
|
nix.settings = {
|
||||||
nix.binaryCaches = [ https://cache.nixos.org ];
|
sandbox = true;
|
||||||
nix.trustedBinaryCaches = [ https://cache.nixos.org ];
|
substituters = [ "https://cache.nixos.org" ];
|
||||||
|
trusted-substituters = [ "https://cache.nixos.org" ];
|
||||||
|
};
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
auto-optimise-store = true
|
auto-optimise-store = true
|
||||||
binary-caches-parallel-connections = 10
|
binary-caches-parallel-connections = 10
|
||||||
|
@ -82,6 +82,7 @@
|
|||||||
glucose
|
glucose
|
||||||
prover9
|
prover9
|
||||||
eprover
|
eprover
|
||||||
|
vampire
|
||||||
metis-prover
|
metis-prover
|
||||||
spass
|
spass
|
||||||
z3
|
z3
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
# { device = "/dev/disk/by-uuid/b7274abd-58a5-4acc-8481-30e105e94eec"; }
|
# { device = "/dev/disk/by-uuid/b7274abd-58a5-4acc-8481-30e105e94eec"; }
|
||||||
#];
|
#];
|
||||||
|
|
||||||
nix.maxJobs = pkgs.lib.mkDefault 6;
|
nix.settings.max-jobs = pkgs.lib.mkDefault 6;
|
||||||
powerManagement.cpuFreqGovernor = pkgs.lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = pkgs.lib.mkDefault "powersave";
|
||||||
|
|
||||||
environment.etc."lvm/lvm.conf".text = ''
|
environment.etc."lvm/lvm.conf".text = ''
|
||||||
|
20
flake.lock
20
flake.lock
@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1629481132,
|
"lastModified": 1638122382,
|
||||||
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
|
"narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "997f7efcb746a9c140ce1f13c72263189225f482",
|
"rev": "74f7e4319258e287b0f9cb95426c9853b282730b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -17,11 +17,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642104392,
|
"lastModified": 1643347846,
|
||||||
"narHash": "sha256-m71b7MgMh9FDv4MnI5sg9MiBVW6DhE1zq+d/KlLWSC8=",
|
"narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5aaed40d22f0d9376330b6fa413223435ad6fee5",
|
"rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -42,16 +42,16 @@
|
|||||||
"flake-utils": "flake-utils"
|
"flake-utils": "flake-utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1632420560,
|
"lastModified": 1638172912,
|
||||||
"narHash": "sha256-8Tsa4Hp/CHCA6J8/E7EODhp75z5N1NBhFiOb3lBv/tI=",
|
"narHash": "sha256-jxhQGNEsZTdop/Br3JPS+xmBf6t9cIWRzVZFxbT76Rw=",
|
||||||
"owner": "gytis-ivaskevicius",
|
"owner": "gytis-ivaskevicius",
|
||||||
"repo": "flake-utils-plus",
|
"repo": "flake-utils-plus",
|
||||||
"rev": "4b1bcafcfcd78bd36ceabfe3872822ba5c7fcbe8",
|
"rev": "166d6ebd9f0de03afc98060ac92cba9c71cfe550",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "gytis-ivaskevicius",
|
"owner": "gytis-ivaskevicius",
|
||||||
"ref": "v1.3.0",
|
"ref": "v1.3.1",
|
||||||
"repo": "flake-utils-plus",
|
"repo": "flake-utils-plus",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.0";
|
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1";
|
||||||
|
|
||||||
# neovim-overlay = {
|
# neovim-overlay = {
|
||||||
# url = "github:nix-community/neovim-nightly-overlay";
|
# url = "github:nix-community/neovim-nightly-overlay";
|
||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
channels.nixpkgs.input = nixpkgs;
|
channels.nixpkgs.input = nixpkgs;
|
||||||
|
|
||||||
channels.nixpkgs.patches = [ ];
|
channels.nixpkgs.patches = [ ./157175.patch ];
|
||||||
|
|
||||||
nix.generateRegistryFromInputs = true;
|
nix.generateRegistryFromInputs = true;
|
||||||
|
|
||||||
|
16
i3.nix
16
i3.nix
@ -5,15 +5,15 @@
|
|||||||
./common-gui.nix
|
./common-gui.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; with gnome3; [
|
environment.systemPackages = with pkgs; [
|
||||||
i3
|
i3
|
||||||
i3status
|
i3status
|
||||||
rofi
|
rofi
|
||||||
rofi-pass
|
rofi-pass
|
||||||
feh
|
feh
|
||||||
gnome_keyring
|
gnome3.gnome-keyring
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
nautilus # in closure of gnome-terminal anyhow
|
gnome3.nautilus # in closure of gnome-terminal anyhow
|
||||||
pcmanfm
|
pcmanfm
|
||||||
# colord
|
# colord
|
||||||
evince
|
evince
|
||||||
@ -23,7 +23,7 @@
|
|||||||
scrot
|
scrot
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pasystray
|
pasystray
|
||||||
dconf-editor
|
gnome3.dconf-editor
|
||||||
unclutter-xfixes
|
unclutter-xfixes
|
||||||
dunst
|
dunst
|
||||||
|
|
||||||
@ -33,8 +33,8 @@
|
|||||||
desktop_file_utils shared_mime_info
|
desktop_file_utils shared_mime_info
|
||||||
glib gtk3
|
glib gtk3
|
||||||
glib_networking gvfs dconf
|
glib_networking gvfs dconf
|
||||||
gnome_settings_daemon
|
gnome3.gnome-settings-daemon
|
||||||
gnome_themes_standard defaultIconTheme
|
gnome_themes_standard gnome3.adwaita-icon-theme
|
||||||
hicolor_icon_theme
|
hicolor_icon_theme
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -60,7 +60,7 @@
|
|||||||
name = "i3wm";
|
name = "i3wm";
|
||||||
start = ''
|
start = ''
|
||||||
export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
|
export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
|
||||||
export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
export $(${pkgs.gnome3.gnome-keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
export XDG_CURRENT_DESKTOP=X-Generic
|
export XDG_CURRENT_DESKTOP=X-Generic
|
||||||
i3 &
|
i3 &
|
||||||
waitPID=$!
|
waitPID=$!
|
||||||
@ -75,7 +75,7 @@
|
|||||||
xkbOptions = "caps:ctrl_modifier";
|
xkbOptions = "caps:ctrl_modifier";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.socketActivated = true;
|
# services.dbus.socketActivated = true;
|
||||||
services.dbus.packages = with pkgs; [ dunst ];
|
services.dbus.packages = with pkgs; [ dunst ];
|
||||||
systemd.packages = [ pkgs.dunst ];
|
systemd.packages = [ pkgs.dunst ];
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
nix.maxJobs = 4;
|
nix.settings.max-jobs = 4;
|
||||||
|
|
||||||
environment.etc."lvm/lvm.conf".text = ''
|
environment.etc."lvm/lvm.conf".text = ''
|
||||||
devices {
|
devices {
|
||||||
|
10
sway.nix
10
sway.nix
@ -5,14 +5,14 @@
|
|||||||
./common-gui.nix
|
./common-gui.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; with gnome3; [
|
environment.systemPackages = with pkgs; [
|
||||||
i3status
|
i3status
|
||||||
(waybar.override { pulseSupport = true; })
|
(waybar.override { pulseSupport = true; })
|
||||||
wofi
|
wofi
|
||||||
ydotool
|
ydotool
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
feh
|
feh
|
||||||
gnome_keyring
|
gnome3.gnome-keyring
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
pcmanfm
|
pcmanfm
|
||||||
evince
|
evince
|
||||||
@ -20,7 +20,7 @@
|
|||||||
mako
|
mako
|
||||||
pavucontrol
|
pavucontrol
|
||||||
paprefs
|
paprefs
|
||||||
dconf-editor
|
gnome3.dconf-editor
|
||||||
|
|
||||||
xdg_utils # for xdg-open
|
xdg_utils # for xdg-open
|
||||||
|
|
||||||
@ -41,7 +41,7 @@
|
|||||||
firefox = firefox-wayland;
|
firefox = firefox-wayland;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.socketActivated = true;
|
# services.dbus.socketActivated = true;
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -62,7 +62,7 @@
|
|||||||
export WINIT_UNIX_BACKEND=x11
|
export WINIT_UNIX_BACKEND=x11
|
||||||
|
|
||||||
export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
|
export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
|
||||||
export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
|
export $(${pkgs.gnome3.gnome-keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user