mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-03-13 03:24:05 +01:00
Compare commits
No commits in common. "5105f8b1a47e6261428a4f9cd1d4909f23f5d9ea" and "4370685504c2d46a60b898b5cf35e22b71bab30c" have entirely different histories.
5105f8b1a4
...
4370685504
4 changed files with 2 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, lib, ... }:
|
{ self, ... }:
|
||||||
let
|
let
|
||||||
inherit (self.inputs)
|
inherit (self.inputs)
|
||||||
disko
|
disko
|
||||||
|
|
@ -46,7 +46,6 @@ let
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
my.profiles.core.enable = true;
|
my.profiles.core.enable = true;
|
||||||
my.profiles.zsh.enable = lib.mkDefault true;
|
|
||||||
}
|
}
|
||||||
../modules
|
../modules
|
||||||
../profiles
|
../profiles
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ in
|
||||||
users.users.nixremote = {
|
users.users.nixremote = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "nixremote";
|
group = "nixremote";
|
||||||
|
shell = pkgs.bashInteractive;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYSzDdxqaNHmaaLqEvOK/vB65zvqoCebI3Nxzgg5smq root@workman"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYSzDdxqaNHmaaLqEvOK/vB65zvqoCebI3Nxzgg5smq root@workman"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,5 @@
|
||||||
./update
|
./update
|
||||||
./usb-iso
|
./usb-iso
|
||||||
./webcam
|
./webcam
|
||||||
./zsh
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.my.profiles.zsh;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.my.profiles.zsh = with lib; {
|
|
||||||
enable = mkEnableOption "zsh profile";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue