cleanup
helium update / update-helium (push) Successful in 10s
zen browser update / update-zen-browser (push) Successful in 9s
handy update / update-handy (push) Successful in 6s

This commit is contained in:
2026-03-13 00:35:03 +00:00
parent 7fe72e311e
commit 31116e200b
2 changed files with 80 additions and 75 deletions
+79 -75
View File
@@ -1,88 +1,92 @@
{ inputs, self, config, ... }: { {
inputs,
self,
config,
...
}: {
flake.nixosModules.nixos-host = {pkgs, ...}: {
imports = [
../../hardware-configuration.nix
];
flake.nixosModules.nixos-host = {pkgs, ...}: { # Bootloader
imports = [ boot.loader.systemd-boot.enable = true;
../../hardware-configuration.nix boot.loader.efi.canTouchEfiVariables = true;
];
# Bootloader # Use latest kernel
boot.loader.systemd-boot.enable = true; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.efi.canTouchEfiVariables = true;
# Use latest kernel # Hostname
boot.kernelPackages = pkgs.linuxPackages_latest; networking.hostName = "nixos";
# Hostname # Networking
networking.hostName = "nixos"; networking.networkmanager.enable = true;
# Networking # Time zone
networking.networkmanager.enable = true; time.timeZone = "Europe/Lisbon";
# Time zone # Locale
time.timeZone = "Europe/Lisbon"; i18n.defaultLocale = "en_GB.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "pt_PT.UTF-8";
LC_IDENTIFICATION = "pt_PT.UTF-8";
LC_MEASUREMENT = "pt_PT.UTF-8";
LC_MONETARY = "pt_PT.UTF-8";
LC_NAME = "pt_PT.UTF-8";
LC_NUMERIC = "pt_PT.UTF-8";
LC_PAPER = "pt_PT.UTF-8";
LC_TELEPHONE = "pt_PT.UTF-8";
LC_TIME = "pt_PT.UTF-8";
};
# Locale # Printing
i18n.defaultLocale = "en_GB.UTF-8"; services.printing.enable = true;
i18n.extraLocaleSettings = {
LC_ADDRESS = "pt_PT.UTF-8";
LC_IDENTIFICATION = "pt_PT.UTF-8";
LC_MEASUREMENT = "pt_PT.UTF-8";
LC_MONETARY = "pt_PT.UTF-8";
LC_NAME = "pt_PT.UTF-8";
LC_NUMERIC = "pt_PT.UTF-8";
LC_PAPER = "pt_PT.UTF-8";
LC_TELEPHONE = "pt_PT.UTF-8";
LC_TIME = "pt_PT.UTF-8";
};
# Printing # Audio
services.printing.enable = true; services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Audio # SSH
services.pulseaudio.enable = false; services.openssh = {
security.rtkit.enable = true; enable = true;
services.pipewire = { settings = {
enable = true; PermitRootLogin = "no";
alsa.enable = true; };
alsa.support32Bit = true; };
pulse.enable = true;
};
# SSH # User account
services.openssh = { users.users.${config.username} = {
enable = true; isNormalUser = true;
settings = { description = "Thomas Gouveia Lopes";
PermitRootLogin = "no"; extraGroups = ["networkmanager" "wheel"];
};
# Programs
# Allow unfree
nixpkgs.config.allowUnfree = true;
# Enable flakes
nix.settings.experimental-features = ["nix-command" "flakes"];
# Auto-unlock gnome-keyring on login
security.pam.services.login.enableGnomeKeyring = true;
security.pam.services.gdm.enableGnomeKeyring = true;
security.pam.services.gdm-password.enableGnomeKeyring = true;
# State version
system.stateVersion = "25.11";
fileSystems."/mnt/endeavour" = {
device = "/dev/disk/by-uuid/a32ca052-12a5-4355-bd3b-b4515d9ea4a5";
fsType = "ext4";
options = ["defaults" "noatime"];
}; };
}; };
# User account
users.users.${config.username} = {
isNormalUser = true;
description = "Thomas Gouveia Lopes";
extraGroups = [ "networkmanager" "wheel" ];
};
# Programs
# Allow unfree
nixpkgs.config.allowUnfree = true;
# Enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Auto-unlock gnome-keyring on login
security.pam.services.login.enableGnomeKeyring = true;
security.pam.services.gdm.enableGnomeKeyring = true;
security.pam.services.gdm-password.enableGnomeKeyring = true;
# State version
system.stateVersion = "25.11";
fileSystems."/mnt/endeavour" = {
device = "/dev/disk/by-uuid/a32ca052-12a5-4355-bd3b-b4515d9ea4a5";
fsType = "ext4";
options = [ "defaults" "noatime" ];
};
};
} }
+1
View File
@@ -8,6 +8,7 @@
alacritty alacritty
fzf fzf
autojump autojump
wl-clipboard
pulseaudio pulseaudio
legcord legcord
quickshell quickshell