simplify some things and remove some unused code

This commit is contained in:
xunuwu 2025-01-12 15:16:01 +01:00
parent 931efc7518
commit 6cf86a3827
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
144 changed files with 251 additions and 3912 deletions

View file

@ -1,8 +1,4 @@
{
self,
super,
root,
}: {pkgs, ...}: let
{pkgs, ...}: let
list-of-libraries = with pkgs; [
alsa-lib
at-spi2-atk

View file

@ -1,8 +1,4 @@
{
self,
super,
root,
}: {lib, ...}: {
{lib, ...}: {
nix.settings.trusted-users = ["deploy"]; # trust closures created by our user
users.groups.deploy = {};
@ -18,8 +14,8 @@
password = lib.mkForce null;
passwordFile = lib.mkForce null;
openssh.authorizedKeys.keys = with root.sshKeys; [
xun_nixdesk
openssh.authorizedKeys.keyFiles = [
../../../sshKeys/xun_nixdesk
];
};
}

View file

@ -1,8 +1,4 @@
{
self,
super,
root,
}: {pkgs, ...}: {
{pkgs, ...}: {
documentation = {
dev.enable = true;
# man.generateCaches = true; # this does slow down builds by quite a lot

View file

@ -1,4 +1,4 @@
_: {lib, ...}: {
{lib, ...}: {
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [

View file

@ -1,4 +1,4 @@
{...}: {pkgs, ...}: {
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
htop
btop

View file

@ -1,4 +1,4 @@
_: {pkgs, ...}: {
{pkgs, ...}: {
users.users.xun = {
isNormalUser = true;
initialPassword = "nixos";