fixup
This commit is contained in:
parent
3af0c8a43f
commit
5e8b411730
1
base.nix
1
base.nix
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = let ifExists = p: if builtins.pathExists p then p else {}; in [
|
||||
./cachix.nix # update with `cachix use --mode nixos -d . FOOBAR`
|
||||
./secrets
|
||||
./profiles/locale-no.nix
|
||||
./profiles/upgrade-diff.nix
|
||||
./profiles/lix.nix
|
||||
|
|
|
@ -157,7 +157,6 @@
|
|||
imports = let ifExists = p: if builtins.pathExists p then p else {}; in [
|
||||
./base.nix
|
||||
"${self}/hosts/nixos/${hostname}/configuration.nix"
|
||||
./secrets
|
||||
inputs.home-manager.nixosModule
|
||||
#inputs.nix-index-database.nixosModules.nix-index # TODO: fix?
|
||||
] ++ modules ++ extra-modules;
|
||||
|
@ -293,7 +292,7 @@
|
|||
nixosReports = mkHosts (mkReport []);
|
||||
|
||||
overlays = {
|
||||
pbsdspkgs = pkgs: prev: let inherit (pkgs) lib; in {
|
||||
pbsdspkgs = final: prev: let pkgs = final; inherit (pkgs) lib; in {
|
||||
pbsds = lib.makeScope pkgs.newScope (pbsds: {
|
||||
# TODO: get faketty to work, ${expect}/bin/unbuffer is bad
|
||||
nixos-rebuild-nom = pkgs.writeScriptBin "nixos-rebuild" ''
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
services.xserver.displayManager.autoLogin.enable = true;
|
||||
services.xserver.displayManager.autoLogin.user = "pbsds";
|
||||
services.displayManager.autoLogin.enable = true;
|
||||
services.displayManager.autoLogin.user = "pbsds";
|
||||
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60
|
||||
boot.kernelModules = [ "xhci_pci" ]; # add driver to stage-1 to make the usb dock not prevent boot - https://github.com/NixOS/nixpkgs/issues/171625#issuecomment-2068283656
|
||||
|
||||
services.xserver.displayManager.autoLogin.enable = true;
|
||||
services.xserver.displayManager.autoLogin.user = "pbsds";
|
||||
services.displayManager.autoLogin.enable = true;
|
||||
services.displayManager.autoLogin.user = "pbsds";
|
||||
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
|
|
Loading…
Reference in New Issue