feat: simplify flake.nix

This commit is contained in:
Ryan Yin
2023-07-26 20:07:42 +08:00
parent eebbb9f5e6
commit 204cb03922
70 changed files with 1183 additions and 1165 deletions

View File

@@ -1,11 +1,8 @@
{ config, ... }:
let
{config, ...}: let
d = config.xdg.dataHome;
c = config.xdg.configHome;
cache = config.xdg.cacheHome;
in
rec {
in rec {
# add environment variables
systemd.user.sessionVariables = {
# clean up ~

View File

@@ -1,7 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# Linux Only Packages, not available on Darwin
home.packages = with pkgs; [
btop # replacement of htop/nmon
@@ -13,7 +10,7 @@
# misc
libnotify
wireguard-tools # manage wireguard vpn manually, via wg-quick
# need to run `conda-install` before using it
# need to run `conda-shell` before using command `conda`
# conda is not available for MacOS
@@ -30,7 +27,7 @@
ethtool
pciutils # lspci
usbutils # lsusb
hdparm # for disk performance, command
hdparm # for disk performance, command
dmidecode # a tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard
];
@@ -42,5 +39,4 @@
services = {
# syncthing.enable = true;
};
}