This commit is contained in:
Martin Benonisen 2024-03-18 14:09:49 +01:00
parent d19c898833
commit 331ab11fe1
Signed by: mbeno
GPG Key ID: 025254EFB372A723
6 changed files with 22 additions and 25 deletions

View File

@ -26,14 +26,23 @@
XDG_BIN_HOME = "$HOME/.local/bin";
PATH = [ "${XDG_BIN_HOME}" ];
};
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = (with pkgs; [
# unstable.xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
]);
};
xdg.portal =
{
enable = true;
xdgOpenUsePortal = true;
config = {
i3 = {
default = [
"gtk"
];
};
};
extraPortals = (with pkgs; [
# unstable.xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
]);
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;

View File

@ -1 +1 @@
{ imports = [ ./users ./services ./hardware ./fonts ./security ./programs ] }
{ imports = [ ./users.nix ./services.nix ./hardware.nix ./fonts.nix ./security.nix ./programs.nix ]; }

View File

@ -1,6 +1,5 @@
{ config, pkgs, ... }: {
programs.zsh.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play

View File

@ -1,6 +1,7 @@
{ config, pkgs, ... }: {
programs.zsh.enable = true;
environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh;
users.users.mbeno = {
shell = pkgs.zsh;
isNormalUser = true;
@ -15,15 +16,5 @@
# thunderbird
];
};
security.sudo.extraRules = [
{
users = [ "mbeno" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
}
];
}
];
}

View File

@ -22,7 +22,6 @@
];
firefox.enable = true;
tmux.enable = true;
hyprland.enable = true;
home = {
username = "${user}";
homeDirectory = "/home/${user}";

View File

@ -16,8 +16,7 @@
# Prompt stuff
autoload -Uz promptinit
promptinit
prompt pure
export PATH="''${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
prompt agnoster
'';
zplug = {
enable = true;