Add picom, 1p fingerprint, and some extra random packages
This commit is contained in:
parent
c59347238f
commit
7b953e9f11
1 changed files with 52 additions and 5 deletions
|
|
@ -41,7 +41,12 @@ in
|
||||||
|
|
||||||
networking.hostId = "3294c9a2"; # Required for ZFS
|
networking.hostId = "3294c9a2"; # Required for ZFS
|
||||||
networking.hostName = "liminal";
|
networking.hostName = "liminal";
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
networking.extraHosts =
|
||||||
|
''
|
||||||
|
127.0.0.1 keycloak
|
||||||
|
'';
|
||||||
|
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
|
|
@ -66,8 +71,6 @@ in
|
||||||
Defaults lecture = never
|
Defaults lecture = never
|
||||||
'';
|
'';
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
|
|
@ -93,6 +96,8 @@ in
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.settings.PermitRootLogin = "yes";
|
services.openssh.settings.PermitRootLogin = "yes";
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
hardware.brillo.enable = true;
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
@ -142,7 +147,7 @@ in
|
||||||
users.users.hunner = {
|
users.users.hunner = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Hunter Haugen";
|
description = "Hunter Haugen";
|
||||||
extraGroups = [ "docker" "networkmanager" "wheel" "audio" ];
|
extraGroups = [ "docker" "networkmanager" "wheel" "audio" "video" ];
|
||||||
hashedPassword = "$y$j9T$hLqdzlz7dbJZgUnKs.eo3/$25s/2X18vGtDKj53qD1sn/.Omp/6CBJWbn7d9KAiOK7";
|
hashedPassword = "$y$j9T$hLqdzlz7dbJZgUnKs.eo3/$25s/2X18vGtDKj53qD1sn/.Omp/6CBJWbn7d9KAiOK7";
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
@ -150,11 +155,27 @@ in
|
||||||
asdf-vm
|
asdf-vm
|
||||||
pinentry-gtk2
|
pinentry-gtk2
|
||||||
gnupg
|
gnupg
|
||||||
zoom-us
|
unstable.zoom-us
|
||||||
firefox-devedition
|
firefox-devedition
|
||||||
nodejs
|
nodejs
|
||||||
|
slack
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
systemd.user.services = {
|
||||||
|
polkit-agent = {
|
||||||
|
description = "PolKit Authentication Agent";
|
||||||
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
wants = [ "graphical-session.target" ];
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 1;
|
||||||
|
TimeoutStopSec = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable automatic login for the user.
|
# Enable automatic login for the user.
|
||||||
services.displayManager.autoLogin.enable = false;
|
services.displayManager.autoLogin.enable = false;
|
||||||
|
|
@ -173,12 +194,15 @@ in
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
jq
|
||||||
|
yq
|
||||||
|
bat
|
||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
|
emacs
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
htop
|
htop
|
||||||
zfs
|
|
||||||
tmux
|
tmux
|
||||||
file
|
file
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
@ -188,6 +212,10 @@ in
|
||||||
xlockmore
|
xlockmore
|
||||||
dzen2
|
dzen2
|
||||||
arandr
|
arandr
|
||||||
|
xclip
|
||||||
|
shellcheck
|
||||||
|
scrot
|
||||||
|
fd
|
||||||
xorg.xrandr
|
xorg.xrandr
|
||||||
xorg.xsetroot
|
xorg.xsetroot
|
||||||
xorg.xset
|
xorg.xset
|
||||||
|
|
@ -197,10 +225,22 @@ in
|
||||||
#code-cursor
|
#code-cursor
|
||||||
unstable.code-cursor
|
unstable.code-cursor
|
||||||
pwvucontrol
|
pwvucontrol
|
||||||
|
pamixer
|
||||||
helvum
|
helvum
|
||||||
];
|
];
|
||||||
|
|
||||||
services.clipmenu.enable = true;
|
services.clipmenu.enable = true;
|
||||||
|
services.picom = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
inactive-opacity = 1.0;
|
||||||
|
inactive-dim = 0.0;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
frame-opacity = 1.0;
|
||||||
|
inactive-dim-fixed = false;
|
||||||
|
fading = false; # Optional, if you want to disable fading as well
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = unstable.direnv;
|
package = unstable.direnv;
|
||||||
|
|
@ -209,6 +249,7 @@ in
|
||||||
};
|
};
|
||||||
programs._1password.enable = true;
|
programs._1password.enable = true;
|
||||||
programs._1password-gui.enable = true;
|
programs._1password-gui.enable = true;
|
||||||
|
programs._1password-gui.polkitPolicyOwners = [ "hunner" ];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerdfonts
|
nerdfonts
|
||||||
|
|
@ -245,6 +286,11 @@ in
|
||||||
workstation = true;
|
workstation = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.dbus = {
|
||||||
|
enable = true;
|
||||||
|
packages = [ pkgs.polkit ];
|
||||||
|
};
|
||||||
|
security.polkit.enable = true;
|
||||||
|
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
#security.pam.services = {
|
#security.pam.services = {
|
||||||
|
|
@ -266,3 +312,4 @@ in
|
||||||
system.stateVersion = "24.11"; # Did you read the comment?
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
# vim: ft=nix ai
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue