From 3cd8e22dcaced46d0931d09ec46ab0d428b89fc4 Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Fri, 23 Sep 2022 17:06:57 +0200 Subject: [PATCH] updated flake --- flake.lock | 12 ++++++------ nixos/hosts/thalassa/null/configuration.nix | 9 ++++++++- nixos/hosts/thalassa/null/home/default.nix | 1 + 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index e84fd19f..60b584e2 100644 --- a/flake.lock +++ b/flake.lock @@ -381,11 +381,11 @@ "utils": "utils_2" }, "locked": { - "lastModified": 1663835995, - "narHash": "sha256-XNHQ+mdHbjNR1Oit00SFAEcrAZoCS08E7uAFcVMtwhM=", + "lastModified": 1663932797, + "narHash": "sha256-IH8ZBW99W2k7wKLS+Sat9HiKX1TPZjFTnsPizK5crok=", "owner": "nix-community", "repo": "home-manager", - "rev": "bd83eab6220226085c82e637931a7ae3863d9893", + "rev": "de3758e31a3a1bc79d569f5deb5dac39791bf9b6", "type": "github" }, "original": { @@ -637,11 +637,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1663872072, - "narHash": "sha256-/wpcmzZtVKRpM/AOmJ2VT0c6/ORFfS3UgU17o1mvvqs=", + "lastModified": 1663945282, + "narHash": "sha256-vfYvUrzeaJUxndH76VsRJiqcQz6C090rqduGC3y6X4g=", "owner": "NULLx76", "repo": "nixpkgs", - "rev": "f7bbdeae8faf1ab69619a35638edcb7afc0d8923", + "rev": "28444d170b02c92ae8cc9c103631c53e594f75e6", "type": "github" }, "original": { diff --git a/nixos/hosts/thalassa/null/configuration.nix b/nixos/hosts/thalassa/null/configuration.nix index f385ccff..cf33328c 100644 --- a/nixos/hosts/thalassa/null/configuration.nix +++ b/nixos/hosts/thalassa/null/configuration.nix @@ -173,7 +173,7 @@ in virtualisation.podman.enable = true; hardware.saleae-logic.enable = true; - + # Enable CUPS to print documents. services.printing.enable = true; @@ -243,6 +243,13 @@ in authFile = "/etc/u2f-mappings"; # use `pamu2fcfg` from `pkgs.pam_u2f` to generate this config }; + programs.ssh.startAgent = true; + + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=suspend + ''; + services.udev.packages = [ pkgs.qmk-udev-rules ]; # This value determines the NixOS release from which the default diff --git a/nixos/hosts/thalassa/null/home/default.nix b/nixos/hosts/thalassa/null/home/default.nix index a6a6c636..c7c9953f 100644 --- a/nixos/hosts/thalassa/null/home/default.nix +++ b/nixos/hosts/thalassa/null/home/default.nix @@ -105,6 +105,7 @@ jnoortheen.nix-ide matklad.rust-analyzer mkhl.direnv + ms-vscode-remote.remote-ssh ms-vscode.cpptools tamasfe.even-better-toml valentjn.vscode-ltex