mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fixed refreshrate on desktop
switch to neovim as a pager added parrot and mining modules deleted amd module moved the rest of vfio configuration to vfio.nix moved git from home-manager to system configuration
This commit is contained in:
parent
67b3e39735
commit
6b7ce7d133
25 changed files with 152 additions and 165 deletions
|
|
@ -1,27 +1,27 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
settings,
|
||||
...
|
||||
}: {
|
||||
system.stateVersion = "23.05";
|
||||
system.stateVersion = settings.version;
|
||||
environment = {
|
||||
defaultPackages = []; #don't install anything by default
|
||||
binsh = "${pkgs.dash}/bin/dash"; #use dash for speed
|
||||
variables = {
|
||||
EDITOR = "vi";
|
||||
VISUAL = "vi";
|
||||
PAGER = "page";
|
||||
SYSTEMD_PAGERSECURE = "true";
|
||||
TERMINAL = "st";
|
||||
};
|
||||
};
|
||||
#nix stuff
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true; #save space
|
||||
cores = 0; # use all cores
|
||||
keep-outputs = false; #don't make ./results files
|
||||
keep-derivations = false; #^
|
||||
experimental-features = "nix-command flakes";
|
||||
#hardware stuff
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
};
|
||||
#sound settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue