Compare commits

...

5 commits

3 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,3 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ nixos-hardware, microvm, nix-ld-rs, ... }: { nixos-hardware, microvm, nix-ld-rs, ... }:
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
@ -11,12 +7,9 @@
nixos-hardware.nixosModules.common-cpu-amd nixos-hardware.nixosModules.common-cpu-amd
nixos-hardware.nixosModules.common-cpu-amd-pstate nixos-hardware.nixosModules.common-cpu-amd-pstate
nixos-hardware.nixosModules.common-pc-ssd nixos-hardware.nixosModules.common-pc-ssd
# "${nomachine}/nixos/modules/services/admin/nomachine.nix"
microvm.nixosModules.host microvm.nixosModules.host
# ./outline.nix
../../users/erwin ../../users/erwin
../../users/root ../../users/root
]; ];
@ -173,6 +166,8 @@
networkmanager.enable = false; networkmanager.enable = false;
useNetworkd = true; useNetworkd = true;
nftables.enable = true;
firewall = { firewall = {
trustedInterfaces = [ "lo" "tailscale0" ]; trustedInterfaces = [ "lo" "tailscale0" ];
@ -208,6 +203,10 @@
security = { security = {
sudo.enable = false; sudo.enable = false;
sudo-rs.enable = true; sudo-rs.enable = true;
apparmor = {
enable = true;
};
}; };
systemd.network = { systemd.network = {

View file

@ -27,7 +27,7 @@ in
tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
caps a s d f g h j k l ; ' ret kp4 kp5 kp6 caps a s d f g h j k l ; ' ret kp4 kp5 kp6
lshift z x c v b n m , . / rshift up kp1 kp2 kp3 kprt lshift z x c v b n m , . / rshift up kp1 kp2 kp3 kprt
lctrl lmeta lalt spc ralt rmeta rctrl lft down rght kp0 kp.) lctrl lmeta lalt spc rmeta rctrl lft down rght kp0 kp.)
(deflayer colemak (deflayer colemak
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prtsc @qwe pp calc mute voldwn volu esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prtsc @qwe pp calc mute voldwn volu
@ -35,7 +35,7 @@ in
tab q w f p g j l u y ; [ ] \ del end pgdn kp7 kp8 kp9 kp+ tab q w f p g j l u y ; [ ] \ del end pgdn kp7 kp8 kp9 kp+
@cap a r s t d h n e i o ' ret kp4 kp5 kp6 @cap a r s t d h n e i o ' ret kp4 kp5 kp6
lshift z x c v b k m , . / rshift up kp1 kp2 kp3 kprt lshift z x c v b k m , . / rshift up kp1 kp2 kp3 kprt
lctrl lmeta lalt spc ralt rmeta rctrl lft down rght kp0 kp.) lctrl lmeta lalt spc rmeta rctrl lft down rght kp0 kp.)
(deflayer qwerty (deflayer qwerty
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prtsc @col pp calc mute voldwn volu esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prtsc @col pp calc mute voldwn volu
@ -43,7 +43,7 @@ in
tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
@cap a s d f g h j k l ; ' ret kp4 kp5 kp6 @cap a s d f g h j k l ; ' ret kp4 kp5 kp6
lshift z x c v b n m , . / rshift up kp1 kp2 kp3 kprt lshift z x c v b n m , . / rshift up kp1 kp2 kp3 kprt
lctrl lmeta lalt spc ralt rmeta rctrl lft down rght kp0 kp.) lctrl lmeta lalt spc rmeta rctrl lft down rght kp0 kp.)
(defalias (defalias
cap (tap-hold 100 100 bspc lctrl) cap (tap-hold 100 100 bspc lctrl)

View file

@ -12,8 +12,6 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "networkmanager" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nmap nmap
nmap-formatter nmap-formatter
@ -21,11 +19,14 @@ in
services.avahi = { services.avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns4 = true;
nssmdns6 = config.networking.enableIPv6;
publish = { publish = {
enable = true; enable = true;
domain = true; domain = true;
hinfo = true;
userServices = true; userServices = true;
workstation = true;
}; };
}; };
}; };