major home-manager changes

This commit is contained in:
2021-05-02 09:24:02 +05:30
parent da3ef21ccd
commit 70b18cf4fd
33 changed files with 1115 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, ... }:
{
powerManagement = {

View File

@@ -1,4 +1,4 @@
{lib, config, pkgs, ... }:
{lib, config, ... }:
{
services.pipewire = {

View File

@@ -1,5 +1,5 @@
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, ... }:
#let
# compiledLayout = pkgs.runCommand "keyboard-layout" {} ''

View File

@@ -4,17 +4,12 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelPatches = [
{
name = "zenwithmuqqs";
patch = null;
structuredExtraConfig = with lib.kernel; {
SCHED_MUQSS = yes;
};
ignoreConfigErrors = true;
}
];
kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_zen.override {
structuredExtraConfig = with lib.kernel; {
CONFIG_SCHED_MUQSS = yes;
};
ignoreConfigErrors = true;
});
initrd={
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod"];
kernelModules = [ ];

View File

@@ -1,4 +1,4 @@
{lib, config, pkgs, ... }:
{ lib, config, ...}:
{
imports =

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =
@@ -11,6 +11,7 @@
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
fsType = "btrfs";
options = ["compress=zstd"];
};
fileSystems."/boot/efi" =

View File

@@ -1,4 +1,4 @@
{lib, config, pkgs, ... }:
{lib, config, ... }:
{
networking = {

View File

@@ -2,52 +2,35 @@
{
environment.systemPackages = with pkgs; [
customscripts
xclip
dunst
xorg.xkbcomp
glibc
proxychains
#qt5.qmake
xorg.xmodmap
ffmpeg
p7zip
git
glxinfo
sox
libmpdclient
lxappearance
sxiv
jq
mono
vim
mpd
wineWowPackages.staging
neofetch
tor-browser-bundle-bin
w3m
gnumake
pciutils
jdk
gcc
ntfs3g
python38
luajit
neovim
htop
nodejs
wget
ripgrep
patchelf
doas
feh
sxiv
mpv
dwm
dmenu
st
kbd
picom
ncmpcpp
];
programs.steam.enable = true;
nix = {

View File

@@ -1,4 +1,4 @@
{lib, config, pkgs, ... }:
{lib, config, ... }:
{
imports = [
./Stuff/sound.nix