Use Nixos modules for home manager configurations
All checks were successful
/ build-all (push) Successful in 54s
All checks were successful
/ build-all (push) Successful in 54s
This commit is contained in:
parent
632061ac61
commit
85e75928dc
10 changed files with 65 additions and 91 deletions
|
|
@ -20,15 +20,6 @@
|
|||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
networking.hostName = "basado"; # Define your hostname.
|
||||
|
||||
users.users.ant = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
description = "ant";
|
||||
extraGroups =
|
||||
[ "networkmanager" "wheel" "video" "libvirtd" "msr" "docker" "gamemode" ];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
users.users.anvaure = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
|
|
|
|||
|
|
@ -23,16 +23,6 @@ in {
|
|||
networking.hostName = "hs"; # Define your hostname.
|
||||
networking.domain = domain;
|
||||
|
||||
users.users.ant = {
|
||||
isNormalUser = true;
|
||||
description = "ant";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"jellyfin"
|
||||
];
|
||||
openssh.authorizedKeys.keys = (with sshKeys; [ basado moon allegro hs ]);
|
||||
};
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
|
|||
|
|
@ -23,20 +23,6 @@ in {
|
|||
|
||||
users.users.root.openssh.authorizedKeys.keys = [ sshKeys.hs ];
|
||||
|
||||
users.users.ant = {
|
||||
isNormalUser = true;
|
||||
description = "ant";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"jellyfin"
|
||||
];
|
||||
openssh.authorizedKeys.keys = with sshKeys; [
|
||||
basado
|
||||
hs
|
||||
moon
|
||||
];
|
||||
};
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
services.fail2ban = {
|
||||
|
|
|
|||
|
|
@ -18,15 +18,6 @@
|
|||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.ant = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
description = "ant";
|
||||
extraGroups = [ "networkmanager" "wheel" "video" ];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue