hosts: rearrange modules a bit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
[
|
||||
./hardware.nix
|
||||
./stuff.nix
|
||||
./pkgs.nix
|
||||
./networking.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
|
@@ -1,52 +0,0 @@
|
||||
{ lib, config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tmux
|
||||
bc
|
||||
gnumake
|
||||
pciutils
|
||||
usbutils
|
||||
ntfs3g
|
||||
python3
|
||||
htop
|
||||
wget
|
||||
ripgrep
|
||||
kbd
|
||||
gcc
|
||||
rnix-lsp
|
||||
vulkan-tools
|
||||
vulkan-headers
|
||||
jq
|
||||
dconf
|
||||
inputs.nbfc.packages.${pkgs.system}.nbfc
|
||||
];
|
||||
|
||||
programs = {
|
||||
git.enable = true;
|
||||
|
||||
gnupg = {
|
||||
agent = {
|
||||
enableSSHSupport = true;
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
histSize = 30000;
|
||||
enableBashCompletion = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions = {
|
||||
enable = true;
|
||||
highlightStyle = "fg=yellow,bold";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
adb.enable = true;
|
||||
light.enable = true;
|
||||
gamemode.enable = true;
|
||||
};
|
||||
}
|
@@ -1,7 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
tor.enable = true;
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "yes";
|
||||
@@ -16,26 +15,9 @@
|
||||
};
|
||||
};
|
||||
logind.extraConfig = "RuntimeDirectorySize=30%";
|
||||
mysql.enable = true;
|
||||
mysql.package = pkgs.mariadb;
|
||||
|
||||
/* nomad = {
|
||||
enable = true;
|
||||
enableDocker = true;
|
||||
dropPrivileges = false;
|
||||
extraPackages = with pkgs; [ consul cni-plugins ];
|
||||
extraSettingsPaths = [ "/home/natto/hclconfigs/nomad/nomad.json" ];
|
||||
};
|
||||
|
||||
consul = {
|
||||
enable = true;
|
||||
package = pkgs.consul;
|
||||
extraConfigFiles = [ "/home/natto/hclconfigs/consul/consul.json" ];
|
||||
};*/
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
tor.wantedBy = lib.mkForce [ ];
|
||||
libvirtd.wantedBy = lib.mkForce [ ];
|
||||
};
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ lib, config, agenix, pkgs, ... }:
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
time.timeZone = "Asia/Kolkata";
|
||||
|
||||
@@ -22,21 +22,6 @@
|
||||
};
|
||||
console.useXkbConfig = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
fira-code
|
||||
fira-mono
|
||||
monoid
|
||||
font-awesome
|
||||
material-icons
|
||||
material-design-icons
|
||||
lohit-fonts.devanagari
|
||||
lohit-fonts.gurmukhi
|
||||
office-code-pro
|
||||
eb-garamond
|
||||
noto-fonts-cjk
|
||||
takao
|
||||
liberation_ttf
|
||||
];
|
||||
|
||||
users.users.natto = {
|
||||
isNormalUser = true;
|
||||
@@ -54,45 +39,4 @@
|
||||
};
|
||||
|
||||
gtk.iconCache.enable = true;
|
||||
|
||||
# sound stuff
|
||||
sound.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
socketActivation = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
/*
|
||||
environment.etc =
|
||||
let
|
||||
json = pkgs.formats.json { };
|
||||
in
|
||||
{
|
||||
"pipewire/pipewire.conf.d/50-noise.conf".source = json.generate "50-noise.conf" {
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-echo-cancel";
|
||||
args = {
|
||||
capture.props = {
|
||||
node.name = "Echo Cancellation Capture";
|
||||
};
|
||||
source.props = {
|
||||
node.name = "Echo Cancellation Source";
|
||||
};
|
||||
sink.props = {
|
||||
node.name = "Echo Cancellation Sink";
|
||||
};
|
||||
playback.props = {
|
||||
node.name = "Echo Cancellation Playback";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user