mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-28 07:43:45 +01:00
Compare commits
2 commits
3d40f8cecb
...
48762bbb2d
Author | SHA1 | Date | |
---|---|---|---|
xqtc | 48762bbb2d | ||
xqtc | eb0d2e5fec |
|
@ -45,7 +45,7 @@
|
||||||
package = pkgs.nix-ld-rs;
|
package = pkgs.nix-ld-rs;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
# services.tailscale.enable = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
trusted-users = ["xqtc"];
|
trusted-users = ["xqtc"];
|
||||||
|
|
|
@ -11,7 +11,8 @@ end
|
||||||
|
|
||||||
local HOSTNAME = getHostname()
|
local HOSTNAME = getHostname()
|
||||||
|
|
||||||
config.color_scheme = "astromouse (terminal.sexy)"
|
-- config.color_scheme = "astromouse (terminal.sexy)"
|
||||||
|
config.color_scheme = 'Kanagawa (Gogh)'
|
||||||
-- config.font = wezterm.font 'Hack Nerd Font Mono'
|
-- config.font = wezterm.font 'Hack Nerd Font Mono'
|
||||||
config.font = wezterm.font 'Hasklug Nerd Font Mono'
|
config.font = wezterm.font 'Hasklug Nerd Font Mono'
|
||||||
if getHostname() == "lilith" or getHostname() == "alastor" then
|
if getHostname() == "lilith" or getHostname() == "alastor" then
|
||||||
|
|
|
@ -26,15 +26,16 @@
|
||||||
shiftwidth = 2; # Tab width should be 2
|
shiftwidth = 2; # Tab width should be 2
|
||||||
};
|
};
|
||||||
|
|
||||||
# colorschemes.catppuccin.enable = true;
|
colorschemes.kanagawa.enable = true;
|
||||||
colorschemes.base16 = {
|
# colorschemes.base16 = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
colorscheme = "apathy";
|
# colorscheme = "apathy";
|
||||||
settings = {
|
# settings = {
|
||||||
telescope_borders = true;
|
# telescope_borders = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
plugins = {
|
plugins = {
|
||||||
|
neogit.enable = true;
|
||||||
neorg = {
|
neorg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
modules = {
|
modules = {
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_6_11;
|
||||||
boot.kernelModules = ["v4l2loopback"];
|
boot.kernelModules = ["v4l2loopback"];
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
|
@ -253,7 +253,7 @@
|
||||||
|
|
||||||
networking.wireguard.enable = true;
|
networking.wireguard.enable = true;
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
# services.tailscale.enable = true;
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [2234 4747 8096 8080 8082];
|
networking.firewall.allowedTCPPorts = [2234 4747 8096 8080 8082];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
|
|
||||||
networking.wireguard.enable = true;
|
networking.wireguard.enable = true;
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
# services.tailscale.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [8080 5173];
|
networking.firewall.allowedTCPPorts = [8080 5173];
|
||||||
|
|
|
@ -19,6 +19,15 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
security.pam.services.swaylock.fprintAuth = true;
|
||||||
|
|
||||||
|
services.fprintd.enable = true;
|
||||||
|
|
||||||
|
services.fprintd.tod.enable = true;
|
||||||
|
|
||||||
|
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-vfs0090; # (If the vfs0090 Driver does not work, use the following driver)
|
||||||
|
|
||||||
|
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix; # (On my device it only worked with this driver)
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -198,7 +207,7 @@
|
||||||
};
|
};
|
||||||
#networking.wireguard.enable = true;
|
#networking.wireguard.enable = true;
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
# services.tailscale.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [22 2234 8080 5173];
|
networking.firewall.allowedTCPPorts = [22 2234 8080 5173];
|
||||||
|
|
Loading…
Reference in a new issue