Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles
This commit is contained in:
0
.gitattributes
vendored
Normal file → Executable file
0
.gitattributes
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.vscode/launch.json
vendored
Normal file → Executable file
0
.vscode/launch.json
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
5
configuration.nix
Normal file → Executable file
5
configuration.nix
Normal file → Executable file
@@ -12,6 +12,7 @@ in
|
|||||||
./system-modules/dm.nix
|
./system-modules/dm.nix
|
||||||
./system-modules/networking.nix
|
./system-modules/networking.nix
|
||||||
./system-modules/virtualisation.nix
|
./system-modules/virtualisation.nix
|
||||||
|
./system-modules/sshd.nix
|
||||||
./system-modules/hsmw.nix
|
./system-modules/hsmw.nix
|
||||||
./system-modules/docker.nix
|
./system-modules/docker.nix
|
||||||
./system-modules/health_reminder.nix
|
./system-modules/health_reminder.nix
|
||||||
@@ -48,10 +49,6 @@ in
|
|||||||
services.xserver.libinput.enable = true;
|
services.xserver.libinput.enable = true;
|
||||||
hardware.uinput.enable = true;
|
hardware.uinput.enable = true;
|
||||||
|
|
||||||
# log into this machine
|
|
||||||
services.openssh.enable = false;
|
|
||||||
|
|
||||||
|
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
hardware.bluetooth.powerOnBoot = true; #
|
hardware.bluetooth.powerOnBoot = true; #
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|||||||
0
flake.lock
generated
Normal file → Executable file
0
flake.lock
generated
Normal file → Executable file
0
home-modules/bitwarden.nix
Normal file → Executable file
0
home-modules/bitwarden.nix
Normal file → Executable file
0
home-modules/chatterino.nix
Normal file → Executable file
0
home-modules/chatterino.nix
Normal file → Executable file
0
home-modules/discord.nix
Normal file → Executable file
0
home-modules/discord.nix
Normal file → Executable file
0
home-modules/email.nix
Normal file → Executable file
0
home-modules/email.nix
Normal file → Executable file
0
home-modules/fish.nix
Normal file → Executable file
0
home-modules/fish.nix
Normal file → Executable file
0
home-modules/gestures.nix
Normal file → Executable file
0
home-modules/gestures.nix
Normal file → Executable file
0
home-modules/git.nix
Normal file → Executable file
0
home-modules/git.nix
Normal file → Executable file
0
home-modules/gtk.nix
Normal file → Executable file
0
home-modules/gtk.nix
Normal file → Executable file
0
home-modules/hyprland-autoname-workspaces.nix
Normal file → Executable file
0
home-modules/hyprland-autoname-workspaces.nix
Normal file → Executable file
0
home-modules/hyprland.nix
Normal file → Executable file
0
home-modules/hyprland.nix
Normal file → Executable file
0
home-modules/kitty.nix
Normal file → Executable file
0
home-modules/kitty.nix
Normal file → Executable file
0
home-modules/latex.nix
Normal file → Executable file
0
home-modules/latex.nix
Normal file → Executable file
0
home-modules/mako.nix
Normal file → Executable file
0
home-modules/mako.nix
Normal file → Executable file
0
home-modules/nh.nix
Normal file → Executable file
0
home-modules/nh.nix
Normal file → Executable file
0
home-modules/nixvim.nix
Normal file → Executable file
0
home-modules/nixvim.nix
Normal file → Executable file
0
home-modules/nvim-lua/options.lua
Normal file → Executable file
0
home-modules/nvim-lua/options.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/cmp.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/cmp.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/lsp.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/lsp.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/other.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/other.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/telescope.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/telescope.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/treesitter.lua
Normal file → Executable file
0
home-modules/nvim-lua/plugin/treesitter.lua
Normal file → Executable file
0
home-modules/nvim.nix
Normal file → Executable file
0
home-modules/nvim.nix
Normal file → Executable file
0
home-modules/nx-gcal-event.nix
Normal file → Executable file
0
home-modules/nx-gcal-event.nix
Normal file → Executable file
0
home-modules/office.nix
Normal file → Executable file
0
home-modules/office.nix
Normal file → Executable file
0
home-modules/pnx.nix
Normal file → Executable file
0
home-modules/pnx.nix
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoe3-vmdms_192-168-1-104.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoe3-vmdms_192-168-1-104.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoenix-3_192-168-1-108.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoenix-3_192-168-1-108.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoenix2_192-168-1-101.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-phoenix2_192-168-1-101.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-remote_192-168-1-21.remmina
Normal file → Executable file
0
home-modules/pnx/pnx_rdp_srv-remote_192-168-1-21.remmina
Normal file → Executable file
0
home-modules/python.nix
Normal file → Executable file
0
home-modules/python.nix
Normal file → Executable file
0
home-modules/qt.nix
Normal file → Executable file
0
home-modules/qt.nix
Normal file → Executable file
0
home-modules/rofi.nix
Normal file → Executable file
0
home-modules/rofi.nix
Normal file → Executable file
0
home-modules/ssh.nix
Normal file → Executable file
0
home-modules/ssh.nix
Normal file → Executable file
4
home-modules/starship.nix
Normal file → Executable file
4
home-modules/starship.nix
Normal file → Executable file
@@ -169,9 +169,9 @@ lib.mkIf (user != "tv")
|
|||||||
vcsh.format = "[\\[vcsh [$symbol$repo\\]]($style)";
|
vcsh.format = "[\\[vcsh [$symbol$repo\\]]($style)";
|
||||||
hostname = {
|
hostname = {
|
||||||
format = "[\\[$ssh_symbol$hostname\\]]($style)";
|
format = "[\\[$ssh_symbol$hostname\\]]($style)";
|
||||||
ssh_symbol = "爵";
|
ssh_symbol = " ";
|
||||||
ssh_only = true;
|
ssh_only = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
0
home-modules/virt-manager.nix
Normal file → Executable file
0
home-modules/virt-manager.nix
Normal file → Executable file
0
home-modules/vscode.nix
Normal file → Executable file
0
home-modules/vscode.nix
Normal file → Executable file
0
home-modules/waybar.nix
Normal file → Executable file
0
home-modules/waybar.nix
Normal file → Executable file
0
home-modules/wlogout.nix
Normal file → Executable file
0
home-modules/wlogout.nix
Normal file → Executable file
0
home-modules/yazi.nix
Normal file → Executable file
0
home-modules/yazi.nix
Normal file → Executable file
0
home-modules/zoxide.nix
Normal file → Executable file
0
home-modules/zoxide.nix
Normal file → Executable file
0
nxlib/ricelib.nix
Normal file → Executable file
0
nxlib/ricelib.nix
Normal file → Executable file
BIN
secrets/passwords-and-certificates.nix
Normal file → Executable file
BIN
secrets/passwords-and-certificates.nix
Normal file → Executable file
Binary file not shown.
4
system-modules/boot.nix
Normal file → Executable file
4
system-modules/boot.nix
Normal file → Executable file
@@ -22,8 +22,8 @@
|
|||||||
device = "nodev";
|
device = "nodev";
|
||||||
# useOSProber = true;
|
# useOSProber = true;
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
theme = grub-theme-ascii-diana;
|
#theme = grub-theme-ascii-diana;
|
||||||
font = "${grub-theme-ascii-diana}/unicode.pf2";
|
#font = "${grub-theme-ascii-diana}/unicode.pf2";
|
||||||
fontSize = 50;
|
fontSize = 50;
|
||||||
splashImage = null;
|
splashImage = null;
|
||||||
|
|
||||||
|
|||||||
0
system-modules/davmail.nix
Normal file → Executable file
0
system-modules/davmail.nix
Normal file → Executable file
0
system-modules/dm.nix
Normal file → Executable file
0
system-modules/dm.nix
Normal file → Executable file
0
system-modules/docker.nix
Normal file → Executable file
0
system-modules/docker.nix
Normal file → Executable file
0
system-modules/fuse.nix
Normal file → Executable file
0
system-modules/fuse.nix
Normal file → Executable file
0
system-modules/hardware-configuration.nix
Normal file → Executable file
0
system-modules/hardware-configuration.nix
Normal file → Executable file
0
system-modules/health_reminder.nix
Normal file → Executable file
0
system-modules/health_reminder.nix
Normal file → Executable file
0
system-modules/hsmw.nix
Normal file → Executable file
0
system-modules/hsmw.nix
Normal file → Executable file
0
system-modules/networking.nix
Normal file → Executable file
0
system-modules/networking.nix
Normal file → Executable file
0
system-modules/nvidia.nix
Normal file → Executable file
0
system-modules/nvidia.nix
Normal file → Executable file
@@ -5,14 +5,16 @@
|
|||||||
] else [];
|
] else [];
|
||||||
|
|
||||||
config = lib.mkIf (host == "NxACE") {
|
config = lib.mkIf (host == "NxACE") {
|
||||||
security.acme = {
|
# security.acme = {
|
||||||
acceptTerms = true;
|
# acceptTerms = true;
|
||||||
defaults.email = "acme@nx2.site";
|
# defaults.email = "acme@nx2.site";
|
||||||
certs."nx2.site" = {
|
# certs."nx2.site" = {
|
||||||
dnsProvider = "namecheap";
|
# dnsProvider = "namecheap";
|
||||||
environmentFile = ../secrets/nx2site/namecheap-creds.env;
|
# environmentFile = ../secrets/nx2site/namecheap-creds.env;
|
||||||
renewalInterval = "*-*-02 00:05:00";
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# services.nginx = {
|
||||||
};
|
# enable = true;
|
||||||
}
|
# };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
0
system-modules/ollama.nix
Normal file → Executable file
0
system-modules/ollama.nix
Normal file → Executable file
0
system-modules/sound.nix
Normal file → Executable file
0
system-modules/sound.nix
Normal file → Executable file
12
system-modules/sshd.nix
Normal file
12
system-modules/sshd.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, pkgs, lib, secrets, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
ports = secrets.nx2site.ssh.ports;
|
||||||
|
settings = {
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
3
system-modules/users.nix
Normal file → Executable file
3
system-modules/users.nix
Normal file → Executable file
@@ -7,6 +7,9 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "networkmanager" "wheel" "audio" "video" "docker" "libvirtd" "uinput" ];
|
extraGroups = [ "networkmanager" "wheel" "audio" "video" "docker" "libvirtd" "uinput" ];
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzEtnN/GrgXK7yz+0z1x6rKHhYYQhTOFQ6c6Faz79g2 Nx2-ed25519-ssh-key"
|
||||||
|
];
|
||||||
packages = with pkgs; []; # all in home.nix
|
packages = with pkgs; []; # all in home.nix
|
||||||
};
|
};
|
||||||
users.users.tv = lib.mkIf (host == "NxACE") {
|
users.users.tv = lib.mkIf (host == "NxACE") {
|
||||||
|
|||||||
0
system-modules/virtualisation.nix
Normal file → Executable file
0
system-modules/virtualisation.nix
Normal file → Executable file
Reference in New Issue
Block a user