more pc configuration
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -49,7 +49,7 @@
|
|||||||
./modules/motd.nix
|
./modules/motd.nix
|
||||||
./modules/postgres.nix
|
./modules/postgres.nix
|
||||||
./modules/fail2ban.nix
|
./modules/fail2ban.nix
|
||||||
./modules/nix-settings.nix
|
./modules/nix/settings.nix
|
||||||
./modules/adguard.nix
|
./modules/adguard.nix
|
||||||
./modules/git.nix
|
./modules/git.nix
|
||||||
./modules/github-runner.nix
|
./modules/github-runner.nix
|
||||||
@@ -94,7 +94,13 @@
|
|||||||
./users/kopatz.nix
|
./users/kopatz.nix
|
||||||
./modules/graphical/plasma.nix
|
./modules/graphical/plasma.nix
|
||||||
./modules/graphical/shared.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
|
./systems/pc/configuration.nix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
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
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@ in
|
|||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users.${user} = {
|
users.${user} = {
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user