more pc configuration
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -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
3
modules/flatpak.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
services.flatpak.enable = true;
|
||||
}
|
||||
13
modules/gpg.nix
Normal file
13
modules/gpg.nix
Normal 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
7
modules/nix/index.nix
Normal 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
3
modules/nix/ld.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.nix-ld.enable = true;
|
||||
}
|
||||
3
modules/support/ntfs.nix
Normal file
3
modules/support/ntfs.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
}
|
||||
11
modules/wooting.nix
Normal file
11
modules/wooting.nix
Normal 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
|
||||
];
|
||||
}
|
||||
@@ -34,6 +34,11 @@ in
|
||||
};
|
||||
};
|
||||
programs.git.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
home.stateVersion = "23.05";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user