add opengl
This commit is contained in:
parent
1c91e99fcb
commit
e1fe85f763
5 changed files with 25 additions and 21 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -38,16 +38,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682303062,
|
"lastModified": 1682453498,
|
||||||
"narHash": "sha256-x+KAADp27lbxeoPXLUMxKcRsUUHDlg+qVjt5PjgBw9A=",
|
"narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f5364316e314436f6b9c8fd50592b18920ab18f9",
|
"rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-22.11",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
26
flake.nix
26
flake.nix
|
|
@ -2,24 +2,22 @@
|
||||||
description = "Home Manager configuration";
|
description = "Home Manager configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs"; };
|
||||||
};
|
};
|
||||||
};
|
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }:
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }:
|
|
||||||
let
|
let
|
||||||
username = "e";
|
username = "e";
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = (
|
nixosConfigurations = (
|
||||||
import ./hosts {
|
import ./hosts {
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
inherit nixos-hardware;
|
inherit nixos-hardware;
|
||||||
inherit nixpkgs home-manager username;
|
inherit nixpkgs home-manager username;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ nixos-hardware, config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
|
@ -21,5 +21,7 @@
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
hardware.opengl.enable = true;
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,12 @@
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
neofetch
|
neofetch
|
||||||
|
pulseaudio
|
||||||
|
pulsemixer
|
||||||
|
alsa-utils
|
||||||
discord
|
discord
|
||||||
signal-desktop
|
signal-desktop
|
||||||
pulseaudio
|
runelite
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
export GPG_2FA="cjriddz@protonmail.com"
|
export GPG_2FA="cjriddz@protonmail.com"
|
||||||
export MANPAGER="nvim +Man!"
|
export MANPAGER="nvim +Man!"
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
function exists {
|
function exists {
|
||||||
type $1 >/dev/null 2>&1
|
type $1 >/dev/null 2>&1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue