add auto-login module
This commit is contained in:
parent
f839796dc2
commit
1444fd91c8
6 changed files with 28 additions and 44 deletions
21
flake.nix
21
flake.nix
|
|
@ -21,6 +21,7 @@
|
|||
pkgs = import inputs.nixpkgs {inherit system;};
|
||||
user = "tristan";
|
||||
userFullname = "Tristan Beedell";
|
||||
auto-login = import ./nixos/programs/auto-login.nix;
|
||||
|
||||
mkConf = import ./lib/mkconf.nix {inherit inputs system user userFullname;};
|
||||
in {
|
||||
|
|
@ -29,22 +30,24 @@
|
|||
zenix =
|
||||
mkConf [
|
||||
./hardware/zenix.nix
|
||||
./nixos/programs/hyprland.nix
|
||||
(auto-login "Hyprland")
|
||||
./nixos/programs/gamer.nix
|
||||
./nixos/programs/personal.nix
|
||||
./nixos/programs/anki.nix
|
||||
] [
|
||||
./home/programs/gamer.nix
|
||||
./home/programs/personal.nix
|
||||
./home/programs/hyprland.nix
|
||||
./home/programs/personal/.
|
||||
];
|
||||
|
||||
FCS-Tristan-Nixbook =
|
||||
mkConf [
|
||||
./hardware/fcs-tristan-nixbook.nix
|
||||
./nixos/programs/hyprland.nix
|
||||
(auto-login "Hyprland")
|
||||
./nixos/modules/work.nix
|
||||
] [
|
||||
./home/programs/work.nix
|
||||
./home/programs/hyprland.nix
|
||||
];
|
||||
|
||||
vm-sway =
|
||||
|
|
@ -57,8 +60,10 @@
|
|||
mkConf
|
||||
[
|
||||
./hardware/vm.nix
|
||||
./nixos/programs/sway.nix
|
||||
] [];
|
||||
(auto-login "sway")
|
||||
] [
|
||||
./home/programs/sway.nix
|
||||
];
|
||||
|
||||
vm-hyprland =
|
||||
builtins.trace ''
|
||||
|
|
@ -72,8 +77,10 @@
|
|||
mkConf
|
||||
[
|
||||
./hardware/vm.nix
|
||||
./nixos/programs/hyprland.nix
|
||||
] [];
|
||||
(./nixos/programs/auto-login.nix "Hyprland")
|
||||
] [
|
||||
./home/programs/hyprland.nix
|
||||
];
|
||||
|
||||
vm-tty = mkConf [
|
||||
./hardware/vm.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue