[m] Cleanup nixos config

This commit is contained in:
soraefir 2023-11-28 03:39:49 +01:00
parent 5d730f8071
commit efa2a5c0be
7 changed files with 25 additions and 30 deletions

38
flake.lock generated
View File

@ -59,11 +59,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700847865, "lastModified": 1700900274,
"narHash": "sha256-uWaOIemGl9LF813MW0AEgCBpKwFo2t1Wv3BZc6e5Frw=", "narHash": "sha256-KWoKDP5I1viHR4bG3ENnJ7H1DD16tXWH4ROvS0IfXw8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8cedd63eede4c22deb192f1721dd67e7460e1ebe", "rev": "a462e7315deaa8194b0821f726709bb7e51a850c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +83,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1700873282, "lastModified": 1700967537,
"narHash": "sha256-xZngvZYUQxivI9Z/90i8mDpJBC61lE+kQ0Pq3EqOPx8=", "narHash": "sha256-TzyP5xNGF+rCj2ko+E+VOpQTtzlQ4TfDLuObEPbRX6g=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "a6eba919356b08a2a403a52c1e5e020734411668", "rev": "cd96ceecc551c25631783499bd92c6662c5d3616",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -142,11 +142,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1700612854, "lastModified": 1700794826,
"narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=", "narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614", "rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -173,11 +173,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1700865924, "lastModified": 1700999123,
"narHash": "sha256-3OvmS6b3bD1a3bCH3roDO7uBJrYVPhMLd+eUbmzahxk=", "narHash": "sha256-cHUigiOX70G8tZ6Utdl7IkYZ879GDeUkdoI9urX2WcM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "7ddd84acfc35469739ebddbaa2f58f9eebd60869", "rev": "95f618e3eaf6156578985fb5d14da500b811c52e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -208,11 +208,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700362823, "lastModified": 1700967639,
"narHash": "sha256-/H7XgvrYM0IbkpWkcdfkOH0XyBM5ewSWT1UtaLvOgKY=", "narHash": "sha256-uuUwD/O1QcVk+TWPZFwl4ioUkC8iACj0jEXSyE/wGPI=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "49a87c6c827ccd21c225531e30745a9a6464775c", "rev": "4be58d802693d7def8622ff34d36714f8db40371",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -240,18 +240,18 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"lastModified": 1700736101, "lastModified": 1700734054,
"narHash": "sha256-1Fh1xf/JX5zFbGIF9LDaffaleG6JDwwwnKby0LyiXEA=", "narHash": "sha256-SBu1y01WjCSrcCKvgfCDDckrZjU/OmCJT8Xc+hPow7E=",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "f1762f428b0ef2989c81f57ea9e810403d34d946", "rev": "2eb225236eb72f27beec921e9f37ddf58e874fba",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "f1762f428b0ef2989c81f57ea9e810403d34d946", "rev": "2eb225236eb72f27beec921e9f37ddf58e874fba",
"type": "gitlab" "type": "gitlab"
} }
}, },

View File

@ -10,7 +10,7 @@ in {
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true; # wireplumber.enable = true;
}; };
environment.systemPackages = with pkgs; [ easyeffects ]; environment.systemPackages = with pkgs; [ easyeffects ];

View File

@ -3,7 +3,7 @@
fonts = { fonts = {
enableDefaultPackages = false; enableDefaultPackages = false;
fontDir.enable = true; fontDir.enable = true;
#fonts = with pkgs; [
packages = with pkgs; [ packages = with pkgs; [
ibm-plex ibm-plex
lmmath lmmath
@ -25,7 +25,6 @@
}; };
hinting.style = "medium"; hinting.style = "medium";
# hinting.style = "hintfull";
}; };
}; };
} }

View File

@ -1,4 +1,4 @@
{ ... }: { { ... }: {
services.fwupd.enable = true; services.fwupd.enable = false; # Note: run inside a nix-shell
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
} }

View File

@ -1,6 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
services.fstrim.enable = true; services.fstrim.enable = true; # Improves SSD life
services.gvfs.enable = true;
environment.systemPackages = with pkgs; [ gvfs nfs-utils ]; environment.systemPackages = with pkgs; [ gvfs nfs-utils ];
} }

View File

@ -1,7 +1,4 @@
{ pkgs, ... }: { { pkgs, ... }: {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.brillo.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
environment.systemPackages = with pkgs; [ bluez bluez-tools ];
} }

View File

@ -1,8 +1,8 @@
{ config, inputs, ... }: { { config, inputs, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
#common-cpu-amd # inputs.hardware.common-cpu-amd
#common-gpu-amd # inputs.hardware.common-gpu-amd
]; ];
hostcfg = { hostcfg = {