chore: lots of changes made to flatpaks and auto upgrading

This commit is contained in:
Ruben 2024-04-20 16:14:04 -05:00
commit 74e9f6985a
No known key found for this signature in database
GPG key ID: A6C94D84D2DA13EE
5 changed files with 91 additions and 38 deletions

View file

@ -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];
}