nizplz
This commit is contained in:
parent
d19c898833
commit
331ab11fe1
@ -26,14 +26,23 @@
|
|||||||
XDG_BIN_HOME = "$HOME/.local/bin";
|
XDG_BIN_HOME = "$HOME/.local/bin";
|
||||||
PATH = [ "${XDG_BIN_HOME}" ];
|
PATH = [ "${XDG_BIN_HOME}" ];
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg.portal =
|
||||||
enable = true;
|
{
|
||||||
xdgOpenUsePortal = true;
|
enable = true;
|
||||||
extraPortals = (with pkgs; [
|
xdgOpenUsePortal = true;
|
||||||
# unstable.xdg-desktop-portal-hyprland
|
config = {
|
||||||
xdg-desktop-portal-gtk
|
i3 = {
|
||||||
]);
|
default = [
|
||||||
};
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraPortals = (with pkgs; [
|
||||||
|
# unstable.xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
]);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -1 +1 @@
|
|||||||
{ imports = [ ./users ./services ./hardware ./fonts ./security ./programs ] }
|
{ imports = [ ./users.nix ./services.nix ./hardware.nix ./fonts.nix ./security.nix ./programs.nix ]; }
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
environment.shells = with pkgs; [ zsh ];
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
|
||||||
users.users.mbeno = {
|
users.users.mbeno = {
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@ -15,15 +16,5 @@
|
|||||||
# thunderbird
|
# thunderbird
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
security.sudo.extraRules = [
|
|
||||||
{
|
|
||||||
users = [ "mbeno" ];
|
|
||||||
commands = [
|
|
||||||
{
|
|
||||||
command = "ALL";
|
|
||||||
options = [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
];
|
];
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
hyprland.enable = true;
|
|
||||||
home = {
|
home = {
|
||||||
username = "${user}";
|
username = "${user}";
|
||||||
homeDirectory = "/home/${user}";
|
homeDirectory = "/home/${user}";
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
# Prompt stuff
|
# Prompt stuff
|
||||||
autoload -Uz promptinit
|
autoload -Uz promptinit
|
||||||
promptinit
|
promptinit
|
||||||
prompt pure
|
prompt agnoster
|
||||||
export PATH="''${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
|
||||||
'';
|
'';
|
||||||
zplug = {
|
zplug = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user