mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
fix: clean-up
This commit is contained in:
parent
1ca6189cfd
commit
160be4bd90
11 changed files with 13 additions and 41 deletions
|
|
@ -5,7 +5,7 @@ inherit (lib.attrsets) mapAttrsToList;
|
|||
commonUser = {
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = concatLists (mapAttrsToList
|
||||
(name: user:
|
||||
(_: user:
|
||||
if elem "wheel" user.extraGroups then
|
||||
user.openssh.authorizedKeys.keys
|
||||
else
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
inherit (std) list;
|
||||
in {
|
||||
boot = mkMerge [
|
||||
({
|
||||
{
|
||||
kernel.sysctl = {
|
||||
"fs.inotify.max_user_watches" = 524288;
|
||||
"net.core.rmem_max" = 16777216;
|
||||
|
|
@ -20,7 +20,7 @@ in {
|
|||
tmpOnTmpfs = true;
|
||||
tmpOnTmpfsSize = "80%";
|
||||
kernelPackages = mkIf (list.elem "zfs" config.boot.supportedFilesystems) (mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages);
|
||||
})
|
||||
}
|
||||
(mkIf (list.elem "zfs" config.boot.supportedFilesystems) {
|
||||
kernelPackages = mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
zfs.enableUnstable = true;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{ config, lib, pkgs, std, ... }: let
|
||||
inherit (std) string;
|
||||
inherit (lib.modules) mkForce;
|
||||
in
|
||||
{
|
||||
_: {
|
||||
console = {
|
||||
font = "Tamzen7x14";
|
||||
earlySetup = true;
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
{ config, pkgs, ... }: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
autorun = false;
|
||||
exportConfiguration = true;
|
||||
in {
|
||||
startx.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xorg.xinit
|
||||
xsel
|
||||
scrot
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue