From aa111c90a61c5275c68282f2d57ebab7c520b488 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 10 Feb 2024 10:13:46 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/nixvim.nix | 5 ++--- lib/default.nix | 16 ++++++++++------ nixos/users/albert/desktop.nix | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 5156d64d..4750e840 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -41,10 +41,9 @@ # Center cursor when jumping foward or back (nmap "" "zz") (nmap "" "zz") - - + # Insert Mode - + ]; options = { diff --git a/lib/default.nix b/lib/default.nix index 3c956146..0a27503b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -44,12 +44,16 @@ repo ? "nixpkgs", unfree ? false }:inputs.${repo}.lib.nixosSystem { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; - - pkgs = import inputs.${repo} { - inherit system; - config.allowUnfree = unfree; - hostPlatform = system; + specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; + pkgs = import inputs.${repo} { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + pkgs-unstable = import inputs.nixpkgs-unstable { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; }; modules = [ diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index 9b183cc1..971905a6 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -1,11 +1,11 @@ -{ config, lib, pkgs, desktop, inputs, system, ... }: { +{ config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: { # Steam, Vintage Story areu nfree. environment.systemPackages = [ pkgs.bitwarden pkgs.steam pkgs.lutris pkgs.vlc - # unstable.vintagestory + pkgs-unstable.vintagestory ]; programs.steam = {