fix impure issues
This commit is contained in:
parent
f7d78897c5
commit
8e482fc526
17 changed files with 22 additions and 31 deletions
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1700794826,
|
||||
"narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=",
|
||||
"lastModified": 1701068326,
|
||||
"narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8",
|
||||
"rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, fonts, ...}:
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
noto-fonts
|
||||
|
@ -9,5 +9,4 @@ with import <nixpkgs> {};
|
|||
liberation_ttf
|
||||
];
|
||||
fonts.fontDir.enable = true;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
with import <nixpkgs> {};
|
||||
{
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{users, pkgs, ...}:
|
||||
{
|
||||
users.extraUsers.mypackaegsstayinstoreffs = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, lib, ...}:
|
||||
{
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
with import <nixpkgs> {};
|
||||
{
|
||||
# Enable OpenGL
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
];
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
security.polkit.enable = true;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
|
@ -17,6 +17,13 @@ with import <nixpkgs> {};
|
|||
ffmpeg-full
|
||||
|
||||
imagemagick
|
||||
(import ../scripts.nix)
|
||||
|
||||
(writeShellScriptBin "primerun" ''
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
exec "$@"
|
||||
'')
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
systemd.services.otd-daemon = {
|
||||
description = "opentabletdriver daemon, a user service to make the gui work";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
with import <nixpkgs> {};
|
||||
{
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.tlp = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
users.users.grimmauld = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
with import <nixpkgs> {};
|
||||
{pkgs, ...}:
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
with import <nixpkgs> {};
|
||||
{
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
writeShellScriptBin "primerun" ''
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
exec "$@"
|
||||
''
|
Loading…
Reference in a new issue