fix eval errors

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-05 21:06:59 +01:00
parent 8e2614f8b3
commit 975220415f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
7 changed files with 11 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ config, pkgs, ... } @ args:
let
lockscreen-all = pkgs.writeScript "lockscreen-all" ''
#!${pkgs.bash}/bin/bash
@ -60,4 +60,5 @@ in
programs.java.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix { desktop = true; inherit args; };
}

View file

@ -1,10 +1,10 @@
{ pkgs, ... }:
{ system, nix-gaming, ... } @ args: { pkgs, ... }:
let
wine-tkg = pkgs.nix-gaming.wine-tkg;
wine-tkg = nix-gaming.outputs.packages.${system}.wine-tkg;
in
{
imports = [
./grapejuice.nix
(import ./grapejuice.nix args)
];
home.packages = [
wine-tkg

View file

@ -1,4 +1,4 @@
{ config, pkgs, system, nix-gaming, ... }:
{ system, nix-gaming, ... } @ args: { config, pkgs, ... }:
let
wine-tkg = nix-gaming.outputs.packages.${system}.wine-tkg;
hardware-profiles = {
@ -19,7 +19,7 @@ let
};
grapejuice_config = {
__version__ = 2;
__hardware_profiles__ = hardware-profiles.${config.networking.hostName};
__hardware_profiles__ = hardware-profiles.${args.config.networking.hostName};
show_fast_flag_warning = true;
no_daemon_mode = true;
release_channel = "master";

View file

@ -1,4 +1,4 @@
desktop: { pkgs, ... }: {
{ desktop, args }: { pkgs, ... }: {
imports = [
(import ./base.nix desktop)
../programs/gpg.nix
@ -14,7 +14,7 @@ desktop: { pkgs, ... }: {
../programs/zoom.nix
../programs/plover.nix
../programs/texlive.nix
../games/default.nix
(import ../games/default.nix args)
../programs/yubikey.nix
../programs/keybase.nix
../programs/keepass.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }: {
{ config, pkgs, lib, modulesPath, ... } @ args: {
networking.hostName = "nixos-8gb-fsn1-1";
networking.hostId = "73561e1f";
@ -165,7 +165,7 @@
};
networking.wireguard.interfaces."wg0".ips = [ "fd0d:a262:1fa6:e621:b4e1:08ff:e658:6f49/64" ];
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix false;
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix { desktop = false; inherit args; };
nix.settings.cores = 2;
nix.settings.max-jobs = 0;
}

View file

@ -137,7 +137,6 @@
system.stateVersion = "21.11";
networking.wireguard.interfaces."wg0".ips = [ "fd0d:a262:1fa6:e621:47e6:24d4:2acb:9437/64" ];
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix true;
networking.nameservers = [ "192.168.2.1" ];
services.xserver.videoDrivers = [ "amdgpu" ];

View file

@ -110,7 +110,6 @@
networking.wireguard.interfaces."wg0".ips = [
"fd0d:a262:1fa6:e621:f45a:db9f:eb7c:1a3f/64"
];
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix true;
networking.nameservers = [ "fd00:e621:e621:2::2" ];
services.xserver.videoDrivers = [ "intel" ];
nix.settings.cores = 4;