diff --git a/flake.lock b/flake.lock index 2381592..549b521 100755 --- a/flake.lock +++ b/flake.lock @@ -38,16 +38,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1682303062, - "narHash": "sha256-x+KAADp27lbxeoPXLUMxKcRsUUHDlg+qVjt5PjgBw9A=", + "lastModified": 1682453498, + "narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f5364316e314436f6b9c8fd50592b18920ab18f9", + "rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-22.11", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 68b25b5..9b012de 100755 --- a/flake.nix +++ b/flake.nix @@ -2,24 +2,22 @@ description = "Home Manager configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; home-manager = { url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }: + inputs.nixpkgs.follows = "nixpkgs"; }; + }; + outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }: let username = "e"; in { - nixosConfigurations = ( - import ./hosts { - inherit (nixpkgs) lib; - inherit nixos-hardware; - inherit nixpkgs home-manager username; - } - ); - }; -} + nixosConfigurations = ( + import ./hosts { + inherit (nixpkgs) lib; + inherit nixos-hardware; + inherit nixpkgs home-manager username; + } + ); + }; + } diff --git a/hosts/t14/configuration.nix b/hosts/t14/configuration.nix index 56a823b..3705b34 100755 --- a/hosts/t14/configuration.nix +++ b/hosts/t14/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ nixos-hardware, config, pkgs, ... }: { imports = [ @@ -21,5 +21,7 @@ pulse.enable = true; }; nixpkgs.config.allowUnfree = true; + boot.kernelPackages = pkgs.linuxPackages_latest; + hardware.opengl.enable = true; system.stateVersion = "22.11"; } diff --git a/hosts/t14/home.nix b/hosts/t14/home.nix index e57e1f9..b4dbd44 100755 --- a/hosts/t14/home.nix +++ b/hosts/t14/home.nix @@ -7,9 +7,12 @@ home = { packages = with pkgs; [ neofetch + pulseaudio + pulsemixer + alsa-utils discord signal-desktop - pulseaudio + runelite ]; }; } diff --git a/modules/programs/shell/default.nix b/modules/programs/shell/default.nix index 4b23581..ed470ff 100755 --- a/modules/programs/shell/default.nix +++ b/modules/programs/shell/default.nix @@ -38,6 +38,7 @@ export GPG_2FA="cjriddz@protonmail.com" export MANPAGER="nvim +Man!" export EDITOR="nvim" + export _JAVA_AWT_WM_NONREPARENTING=1 [[ $- != *i* ]] && return function exists { type $1 >/dev/null 2>&1