don't repurpose suspend key

This commit is contained in:
cy 2024-12-12 15:53:17 -05:00
parent d45a4f2358
commit 83876e8d4d
3 changed files with 34 additions and 12 deletions

View file

@ -81,7 +81,8 @@
shell = pkgs.zsh; shell = pkgs.zsh;
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
ungoogled-chromium inputs.master.legacyPackages.${system}.ungoogled-chromium
# ungoogled-chromium
librewolf librewolf
bitwarden-desktop bitwarden-desktop
bitwarden-cli bitwarden-cli
@ -146,6 +147,7 @@
sshfs sshfs
nextcloud-client nextcloud-client
python312Packages.python-lsp-server python312Packages.python-lsp-server
gopls
(callPackage ./anki-bin.nix { }) (callPackage ./anki-bin.nix { })
]; ];
@ -231,6 +233,7 @@
"**/cache" "**/cache"
"**/Cache" "**/Cache"
"/var/lib/docker" "/var/lib/docker"
"/var/lib/private/ollama"
"/home/**/Downloads" "/home/**/Downloads"
"**/.steam" "**/.steam"
"**/.rustup" "**/.rustup"
@ -275,7 +278,6 @@
services.logind = { services.logind = {
lidSwitch = "hibernate"; lidSwitch = "hibernate";
suspendKey = "ignore";
powerKey = "hibernate"; powerKey = "hibernate";
}; };
@ -368,4 +370,6 @@
intel-media-sdk intel-media-sdk
]; ];
}; };
services.ollama.enable = true;
} }

37
nix/flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733484277, "lastModified": 1733951607,
"narHash": "sha256-i5ay20XsvpW91N4URET/nOc0VQWOAd4c4vbqYtcH8Rc=", "narHash": "sha256-CN6q6iCzxI1gkNyk4xLdwaMKi10r7n+aJkRzWj8PXwQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a", "rev": "6e5b2d9e8014b5572e3367937a329e7053458d34",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,13 +20,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "master": {
"locked": { "locked": {
"lastModified": 1733581040, "lastModified": 1733663081,
"narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=", "narHash": "sha256-QuLqwYUULkwINu9XAynv3Df/wsVZ0OOxJLQtQRfEA0k=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "22c3f2cf41a0e70184334a958e6b124fb0ce3e01", "rev": "2ab79c44f98391b6ee2edfb11f4c7a57ce1404b5",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2ab79c44f98391b6ee2edfb11f4c7a57ce1404b5",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,6 +54,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"master": "master",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
@ -49,11 +66,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733128155, "lastModified": 1733965552,
"narHash": "sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc=", "narHash": "sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "c6134b6fff6bda95a1ac872a2a9d5f32e3c37856", "rev": "2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,6 +11,7 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
master.url = "github:NixOS/nixpkgs/2ab79c44f98391b6ee2edfb11f4c7a57ce1404b5";
}; };
outputs = { self, nixpkgs, sops-nix, home-manager, ... }@inputs: outputs = { self, nixpkgs, sops-nix, home-manager, ... }@inputs: