diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-11-22 00:43:12 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-11-22 00:45:48 +0530 |
| commit | b8e909d68bcb035648dda93f15de7863f444a3c4 (patch) | |
| tree | 3e6c13b1424d5005b595ea1d86f1b50a49b42390 /configuration.nix | |
| parent | 7cca3043fa585dc0d0cef6a3f25756c946bee1aa (diff) | |
| download | nixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.tar.gz nixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.zip | |
Switch to kakoune + daffm
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/configuration.nix b/configuration.nix index aaa6055..20299ec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,6 +14,8 @@ ./modules/lockscreen.nix ./modules/sound ./modules/notifications + ./modules/kakoune + ./modules/ai ]; nixpkgs.config = { @@ -47,14 +49,14 @@ hostName = "smartfridge"; firewall = { enable = true; - allowedTCPPorts = [ 3000 3001 8081 ]; + allowedTCPPorts = [ 3000 3001 ]; allowedUDPPorts = [ 41641 ]; }; nameservers = [ "100.100.100.100" "1.1.1.1" "8.8.8.8" ]; search = [ "resolve.construction" ]; networkmanager.enable = true; hosts = { - "127.0.0.1" = ["phenax.local" "field.shape-e2e.com"]; + "127.0.0.1" = ["field.shape-e2e.com"]; }; }; @@ -65,14 +67,14 @@ docker = { enable = true; }; - lxd.enable = false; + # lxd.enable = false; virtualbox.host.enable = false; libvirtd = { enable = true; qemu = { swtpm.enable = true; - ovmf.enable = true; - ovmf.packages = [ pkgs.OVMFFull.fd ]; + # ovmf.enable = true; + # ovmf.packages = [ pkgs.OVMFFull.fd ]; }; }; spiceUSBRedirection.enable = true; @@ -114,23 +116,21 @@ }; fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono - nerd-fonts.fira-code - nerd-fonts.fira-mono cozette - noto-fonts-emoji + noto-fonts-color-emoji inter roboto - vistafonts + vista-fonts ]; - services.logind = { - powerKey = "ignore"; - rebootKey = "ignore"; - lidSwitch = "ignore"; - lidSwitchDocked = "ignore"; - lidSwitchExternalPower = "ignore"; - hibernateKey = "ignore"; - suspendKey = "ignore"; + services.logind.settings.Login = { + HandlePowerKey = "ignore"; + HandleRebootKey = "ignore"; + HandleLidSwitch = "ignore"; + HandleLidSwitchDocked = "ignore"; + HandleLidSwitchExternalPower = "ignore"; + HandleHibernateKey = "ignore"; + HandleSuspendKey = "ignore"; }; # Home manager |
