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 = { services = {
xserver = { xserver = {
enable = true; enable = true;
desktopManager.plasma5.enable = true; desktopManager.plasma6.enable = true;
displayManager.sddm.enable = true; displayManager.sddm.enable = true;
excludePackages = with pkgs; [ excludePackages = with pkgs; [
xterm xterm

View file

@ -1,4 +1,8 @@
{lib, ...}: { {
lib,
pkgs,
...
}: {
environment.persistence."/persist".files = [ environment.persistence."/persist".files = [
"/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub" "/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 '' environment.etc."ssh/ssh_config".text = lib.mkAfter ''
Compression yes Compression yes

View file

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

View file

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