From 5588920842f989efede0890bbd23f863692986d1 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 2 Jun 2020 23:32:15 +0200 Subject: tv xu: modernize luks config --- tv/1systems/xu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix index 33f9539..503142b 100644 --- a/tv/1systems/xu/config.nix +++ b/tv/1systems/xu/config.nix @@ -113,9 +113,7 @@ with import ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "xuca"; device = "/dev/sda2"; } - ]; + devices.xuca.device = "/dev/sda2"; }; fileSystems = { -- cgit v1.2.3 From 2f58f18af7812f6da5e02969965e33aa50002111 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 17:30:22 +0200 Subject: tv zu: modernize luks config --- tv/1systems/zu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/zu/config.nix b/tv/1systems/zu/config.nix index bbfcfaf..5a69601 100644 --- a/tv/1systems/zu/config.nix +++ b/tv/1systems/zu/config.nix @@ -18,9 +18,7 @@ with import ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "zuca"; device = "/dev/sda2"; } - ]; + devices.zuca.device = "/dev/sda2"; }; fileSystems = { -- cgit v1.2.3 From b04c3a87f2b04680aee9430f60a6c81a7501a67b Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 18:00:21 +0200 Subject: tv nomic: modernize luks config --- tv/1systems/nomic/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/nomic/config.nix b/tv/1systems/nomic/config.nix index 86f9b7e..cd8988d 100644 --- a/tv/1systems/nomic/config.nix +++ b/tv/1systems/nomic/config.nix @@ -17,9 +17,7 @@ with import ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "luks1"; device = "/dev/sda2"; } - ]; + devices.luks1.device = "/dev/sda2"; }; # Don't use UEFI because current disk was partitioned/formatted for AO753. -- cgit v1.2.3 From e6ec05a09f13809583d820e45d430b2d3ca9e72f Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 20:04:18 +0200 Subject: tv querel displayManager: auto -> lightdm --- tv/1systems/querel/config.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/querel/config.nix b/tv/1systems/querel/config.nix index ac51f54..0640740 100644 --- a/tv/1systems/querel/config.nix +++ b/tv/1systems/querel/config.nix @@ -75,10 +75,7 @@ with import ; }; services.xserver.desktopManager.plasma5.enable = true; - services.xserver.displayManager.auto = { - enable = true; - user = "itak"; - }; + services.xserver.displayManager.lightdm.enable = true; users.users.itak = { inherit (config.krebs.users.itak) home uid; -- cgit v1.2.3 From 5314afd05ad5cdb569c03954e4f13e63791cd7c7 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 20:20:49 +0200 Subject: tv querel: enable autoLogin --- tv/1systems/querel/config.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tv/1systems') diff --git a/tv/1systems/querel/config.nix b/tv/1systems/querel/config.nix index 0640740..e58a9b2 100644 --- a/tv/1systems/querel/config.nix +++ b/tv/1systems/querel/config.nix @@ -75,6 +75,9 @@ with import ; }; services.xserver.desktopManager.plasma5.enable = true; + + services.xserver.displayManager.lightdm.autoLogin.enable = true; + services.xserver.displayManager.lightdm.autoLogin.user = "itak"; services.xserver.displayManager.lightdm.enable = true; users.users.itak = { -- cgit v1.2.3 From 171eb06e64a482b2ac84f3f7186026149fb22ad3 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 20:22:42 +0200 Subject: tv nomic: enable ~/bin --- tv/1systems/nomic/config.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tv/1systems') diff --git a/tv/1systems/nomic/config.nix b/tv/1systems/nomic/config.nix index cd8988d..38cc623 100644 --- a/tv/1systems/nomic/config.nix +++ b/tv/1systems/nomic/config.nix @@ -45,6 +45,8 @@ with import ; fsType = "btrfs"; }; + environment.homeBinInPath = true; + environment.systemPackages = with pkgs; [ (writeDashBin "play" '' set -euf -- cgit v1.2.3 From 3d29789420e35df28dae751111e0807e3669eb07 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 20:26:53 +0200 Subject: tv alnus: modernize luks config --- tv/1systems/alnus/config.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix index d54d5fc..21583f7 100644 --- a/tv/1systems/alnus/config.nix +++ b/tv/1systems/alnus/config.nix @@ -11,10 +11,8 @@ with import ; boot = { initrd = { availableKernelModules = [ "ahci" ]; - luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ { name = "luksroot"; device = "/dev/sda2"; } ]; - }; + luks.cryptoModules = [ "aes" "sha512" "xts" ]; + luks.devices.luksroot.devices = "/dev/sda2"; }; }; -- cgit v1.2.3 From 4dbed8bfab522b7b2bbb0f16ca695588ed054ab3 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 7 Jun 2020 11:05:26 +0200 Subject: tv wu: modernize luks config --- tv/1systems/wu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/wu/config.nix b/tv/1systems/wu/config.nix index 4c491d6..d4114f0 100644 --- a/tv/1systems/wu/config.nix +++ b/tv/1systems/wu/config.nix @@ -18,9 +18,7 @@ with import ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "wuca"; device = "/dev/sda2"; } - ]; + devices.wuca.device = "/dev/sda2"; }; fileSystems = { -- cgit v1.2.3