Changes
6 changed files (+83/-79)
-
-
@@ -13,36 +13,6 @@networking.hostName = "Framework-13"; environment.systemPackages = with pkgs; [ # WolframAlpha at home # Don't try to build sage-tests if missing from cache.nixos.org # A bit questionable since that means some Sage test is failing but whatever (sage.override { requireSageTests = false; }) ]; # TODO: Microphone doesn't work and importing the nixos-hardware config doesn't help # https://github.com/NixOS/nixos-hardware/blob/master/framework/13-inch/amd-ai-300-series/default.nix # Fingerprint authentication services.fprintd.enable = true; # Don't enable fprintd for everything, otherwise plasmalogin takes 30 seconds to log in # Also, pam_kwallet5.so needs my password which obviously doesn't work with fingerprint login # https://github.com/NixOS/nixpkgs/issues/239770#issuecomment-1868402338 security.pam.services.login.fprintAuth = false; # fprintd is buggy if running during sleep so kill it first # This is an fprintd bug so Plasma updates probably won't fix it systemd.services.kill-fprintd = { wantedBy = [ "sleep.target" ]; before = [ "sleep.target" ]; serviceConfig.ExecStart = "${pkgs.killall}/bin/killall fprintd"; }; services.ollama = { enable = true; package = pkgs.ollama-vulkan; }; nixathena.enable = true; }
-
-
-
@@ -14,7 +14,7 @@# VA-API hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver ]; networking.hostName = "ThinkPad-Yoga-14"; networking.hostName = "ThinkPad-X1-Yoga-Gen-6"; systemd.user.services.switch-virtual-keyboard = { wantedBy = [ "graphical-session.target" ];
-
-
-
@@ -0,0 +1,55 @@# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/854ed839-314f-44bd-b57f-655437c254bd"; fsType = "btrfs"; }; boot.initrd.luks.devices."luksdev".device = "/dev/disk/by-uuid/f4e1fd6b-f03c-428f-a31e-7355a10b9a2c"; fileSystems."/boot" = { device = "/dev/disk/by-uuid/3A93-17DE"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp0s13f0u2u1u2.useDHCP = lib.mkDefault true; # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }
-
-
-
-
@@ -1,48 +0,0 @@# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/mapper/root"; fsType = "btrfs"; }; boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/7fc85a5d-d3ee-4e44-ae3d-f4e6f055b22d"; fileSystems."/boot" = { device = "/dev/disk/by-uuid/C2EA-940E"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }
-
-
-
@@ -13,6 +13,8 @@ let}) { }; in { nixathena.enable = true; # For NeoChat ugh nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" ];
-
@@ -101,6 +103,12 @@ inrust-analyzer rustc rustfmt # WolframAlpha at home # Don't try to build sage-tests if missing from cache.nixos.org # A bit questionable since that means some Sage test is failing but whatever (sage.override { requireSageTests = false; }) # 100x faster than pip! uv # Patch for XDG support
-
@@ -217,6 +225,20 @@ in}; }; # Fingerprint authentication services.fprintd.enable = true; # Don't enable fprintd for everything, otherwise plasmalogin takes 30 seconds to log in # Also, pam_kwallet5.so needs my password which obviously doesn't work with fingerprint login # https://github.com/NixOS/nixpkgs/issues/239770#issuecomment-1868402338 security.pam.services.login.fprintAuth = false; # fprintd is buggy if running during sleep so kill it first # This is an fprintd bug so Plasma updates probably won't fix it systemd.services.kill-fprintd = { wantedBy = [ "sleep.target" ]; before = [ "sleep.target" ]; serviceConfig.ExecStart = "${pkgs.killall}/bin/killall fprintd"; }; # My hardware is pretty well supported wow what a surprise services.fwupd.enable = true;
-
@@ -224,6 +246,11 @@ in# Yes I'm an evil Nix pragmatist rather than a Nix purist services.flatpak.enable = true; services.ollama = { enable = true; package = pkgs.ollama-vulkan; }; # Back up local /home and Unnamed-Server's /srv using btrfs snapshots and btrbk services.btrbk.instances.btrbk.settings.volume = { "/".subvolume = "/home";
-