mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 13:13:15 -08:00
chore: lots of changes made to flatpaks and auto upgrading
This commit is contained in:
parent
49a021eb12
commit
74e9f6985a
5 changed files with 91 additions and 38 deletions
|
|
@ -1,20 +1,25 @@
|
|||
# default config loads everything else
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home-manager.users.ruben = ./home.nix;
|
||||
# make home-manager create backup of files to prevent failure when updating system
|
||||
home-manager.backupFileExtension = "backup";
|
||||
|
||||
# myself :D
|
||||
users.users."ruben" = {
|
||||
isNormalUser = true;
|
||||
description = "Ruben";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "plugdev" "dialout" "libvirtd" ] ++ (lib.optional config.networking.networkmanager.enable "networkmanager");
|
||||
extraGroups = ["wheel" "plugdev" "dialout" "libvirtd"] ++ (lib.optional config.networking.networkmanager.enable "networkmanager");
|
||||
initialHashedPassword = "changeme";
|
||||
|
||||
openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+V3b6oKMTLEBq8AKjdNF5ZwJGXuWTrS2u9QaEypBYP sneexy@disroot.org'' ];
|
||||
openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+V3b6oKMTLEBq8AKjdNF5ZwJGXuWTrS2u9QaEypBYP sneexy@disroot.org''];
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
environment.shells = with pkgs; [zsh];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue