more pc configuration

This commit is contained in:
Kopatz
2023-11-22 12:12:11 +01:00
parent 71705b84c0
commit 67f0cf7d6e
10 changed files with 54 additions and 3 deletions

View File

@@ -49,7 +49,7 @@
./modules/motd.nix
./modules/postgres.nix
./modules/fail2ban.nix
./modules/nix-settings.nix
./modules/nix/settings.nix
./modules/adguard.nix
./modules/git.nix
./modules/github-runner.nix
@@ -94,7 +94,13 @@
./users/kopatz.nix
./modules/graphical/plasma.nix
./modules/graphical/shared.nix
./modules/nix-settings.nix
./modules/nix/settings.nix
./modules/nix/index.nix
./modules/nix/ld.nix
./modules/gpg.nix
./modules/flatpak.nix
./modules/wooting.nix
./modules/support/ntfs.nix
./systems/pc/configuration.nix
agenix.nixosModules.default
home-manager.nixosModules.home-manager

3
modules/flatpak.nix Normal file
View File

@@ -0,0 +1,3 @@
{
services.flatpak.enable = true;
}

13
modules/gpg.nix Normal file
View File

@@ -0,0 +1,13 @@
{pkgs, ...}:
{
#services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "qt";
};
#environment.systemPackages = with pkgs; [
# pinentry-curses
# ];
}

7
modules/nix/index.nix Normal file
View File

@@ -0,0 +1,7 @@
{
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration=true;
};
}

3
modules/nix/ld.nix Normal file
View File

@@ -0,0 +1,3 @@
{
programs.nix-ld.enable = true;
}

3
modules/support/ntfs.nix Normal file
View File

@@ -0,0 +1,3 @@
{
boot.supportedFilesystems = [ "ntfs" ];
}

11
modules/wooting.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs, ...}:
{
services.udev.extraRules = ''
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", TAG+="uaccess"
'';
environment.systemPackages = with pkgs; [
wootility
];
}

View File

@@ -34,6 +34,11 @@ in
};
};
programs.git.enable = true;
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
home.stateVersion = "23.05";
};
};