This commit is contained in:
Lukas Wurzinger 2024-02-25 00:51:34 +01:00
parent ee100f5496
commit 4fd2988a50
4 changed files with 21 additions and 14 deletions

View file

@ -16,7 +16,7 @@
services = {
xserver = {
enable = true;
desktopManager.plasma5.enable = true;
desktopManager.plasma6.enable = true;
displayManager.sddm.enable = true;
excludePackages = with pkgs; [
xterm

View file

@ -1,4 +1,8 @@
{lib, ...}: {
{
lib,
pkgs,
...
}: {
environment.persistence."/persist".files = [
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
@ -21,7 +25,10 @@
};
};
programs.ssh.startAgent = true;
programs.ssh = {
startAgent = true;
askPassword = lib.getExe' pkgs.ksshaskpass "ksshaskpass";
};
environment.etc."ssh/ssh_config".text = lib.mkAfter ''
Compression yes

View file

@ -77,11 +77,11 @@
},
"hardware": {
"locked": {
"lastModified": 1708091350,
"narHash": "sha256-o28BJYi68qqvHipT7V2jkWxDiMS1LF9nxUsou+eFUPQ=",
"lastModified": 1708594753,
"narHash": "sha256-c/gH7iXS/IYH9NrFOT+aJqTq+iEBkvAkpWuUHGU3+f0=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "106d3fec43bcea19cb2e061ca02531d54b542ce3",
"rev": "3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958",
"type": "github"
},
"original": {
@ -212,16 +212,16 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"owner": "NixOS",
"lastModified": 1708799930,
"narHash": "sha256-iYxdinEfweRXcMq/ijt0qS1pRMCfqqUXDqERZ+AA/cw=",
"owner": "K900",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"rev": "1e3e89f6f837ebb2650634829c3d9e8384dc0867",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"owner": "K900",
"ref": "plasma-6",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,7 +2,7 @@
description = "My NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:K900/nixpkgs/plasma-6";
hardware.url = "github:NixOS/nixos-hardware";
impermanence.url = "github:nix-community/impermanence";
agenix.url = "github:ryantm/agenix";
@ -16,7 +16,7 @@
nixpkgs.lib.genAttrs supportedSystems (system: f (import nixpkgs {inherit system;}));
mkSystem = name: class:
inputs.nixpkgs.lib.nixosSystem {
nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
inputs.impermanence.nixosModules.impermanence