Compare commits

..

2 Commits

Author SHA1 Message Date
thomas d7a82d8801 Merge branch 'main' into bot/handy-0.7.10 2026-03-11 16:36:22 +00:00
gitea actions 56f2da8d22 update handy to 0.7.10 2026-03-11 06:40:25 +00:00
3 changed files with 82 additions and 85 deletions
+75 -79
View File
@@ -1,92 +1,88 @@
{
inputs,
self,
config,
...
}: {
flake.nixosModules.nixos-host = {pkgs, ...}: {
imports = [
../../hardware-configuration.nix
];
{ inputs, self, config, ... }: {
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
flake.nixosModules.nixos-host = {pkgs, ...}: {
imports = [
../../hardware-configuration.nix
];
# Use latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Hostname
networking.hostName = "nixos";
# Use latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Networking
networking.networkmanager.enable = true;
# Hostname
networking.hostName = "nixos";
# Time zone
time.timeZone = "Europe/Lisbon";
# Networking
networking.networkmanager.enable = true;
# Locale
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";
};
# Time zone
time.timeZone = "Europe/Lisbon";
# Printing
services.printing.enable = true;
# Locale
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";
};
# Audio
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Printing
services.printing.enable = true;
# SSH
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
};
};
# Audio
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# 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"];
# SSH
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
};
};
# 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" ];
};
};
}
+5 -4
View File
@@ -1,4 +1,8 @@
{self, ...}: {
{
inputs,
self,
...
}: {
flake.nixosModules.packages = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
fd
@@ -8,7 +12,6 @@
alacritty
fzf
autojump
wl-clipboard
pulseaudio
legcord
quickshell
@@ -19,8 +22,6 @@
self.packages.${pkgs.stdenv.hostPlatform.system}.handy
mpv
ffmpeg
tmux
obs-studio
];
};
}
+2 -2
View File
@@ -2,11 +2,11 @@
perSystem = { pkgs, ... }: {
packages.helium = pkgs.appimageTools.wrapType2 rec {
pname = "helium";
version = "0.10.2.1";
version = "0.9.4.1";
src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/${pname}-${version}-x86_64.AppImage";
hash = "sha256-Kh6UgdleK+L+G4LNiQL2DkQIwS43cyzX+Jo6K0/fX1M=";
hash = "sha256-N5gdWuxOrIudJx/4nYo4/SKSxakpTFvL4zzByv6Cnug=";
};
extraInstallCommands = let