fa-t14-2025: update to nixos 26.05

Includes corresponding updates to home/hypr and home/waybar
This commit is contained in:
2026-06-14 20:34:31 +02:00
parent d49be9609a
commit 6999e39aa6
5 changed files with 104 additions and 49 deletions
+41 -7
View File
@@ -1,4 +1,9 @@
{ lib, config, ... }: {
lib,
config,
osConfig,
...
}:
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
systemd.enable = false; # Required for UWSM systemd.enable = false; # Required for UWSM
@@ -18,16 +23,27 @@
'' ''
+ +
lib.concatMapStringsSep "\n" (cmd: ''hl.exec_cmd("${cmd}")'') [ lib.concatMapStringsSep "\n" (cmd: ''hl.exec_cmd("${cmd}")'') (
[
"swaync" "swaync"
"hyprswitch init --size-factor 5 &" "hyprswitch init --size-factor 5 &"
"wl-paste --type text --watch cliphist store #Stores only text data" "wl-paste --type text --watch cliphist store #Stores only text data"
"wl-paste --type image --watch cliphist store #Stores only image data" "wl-paste --type image --watch cliphist store #Stores only image data"
]
++ (
{
# TODO: the hyprpaper hm-module still generates the old config format, use ipc temporarily # TODO: the hyprpaper hm-module still generates the old config format, use ipc temporarily
"sisko" = [
"hyprctl hyprpaper wallpaper 'DP-1, ${wpDir}/Ultrawide_Stray_City.png'" "hyprctl hyprpaper wallpaper 'DP-1, ${wpDir}/Ultrawide_Stray_City.png'"
"hyprctl hyprpaper wallpaper 'DP-2, ${wpDir}/cyberpunk-gas-station-1.jpg'" "hyprctl hyprpaper wallpaper 'DP-2, ${wpDir}/cyberpunk-gas-station-1.jpg'"
] ];
"fa-t14-2025" = [
"hyprctl hyprpaper wallpaper ', ${wpDir}/mktv-wallpaper-01.png'"
];
}
."${osConfig.networking.hostName}"
)
)
+ '' + ''
end end
'' ''
@@ -52,7 +68,25 @@
} }
# fa-t14-2025 # fa-t14-2025
# TODO {
output = "desc:Lenovo Group Limited 0x403D";
mode = "highres@highrr";
position = "0x0";
scale = "1";
supports_hdr = 1;
}
{
output = "desc:Samsung Electric Company LS32D70xE HK2XC00156";
mode = "3840x2160@30.00";
position = "-3840x0";
scale = "1";
}
{
output = "desc:Samsung Electric Company C24F390 H4ZM501656";
mode = "1920x1080@60.00";
position = "-5760x0";
scale = "1";
}
# Other # Other
{ {
@@ -126,8 +160,8 @@
}; };
input = { input = {
kb_layout = "us"; kb_layout = lib.mkDefault "us";
kb_variant = "intl"; kb_variant = lib.mkDefault "intl";
kb_model = ""; kb_model = "";
kb_options = "ctrl:nocaps"; kb_options = "ctrl:nocaps";
kb_rules = ""; kb_rules = "";
+1
View File
@@ -19,6 +19,7 @@ in
"tray" "tray"
"network" "network"
"pulseaudio" "pulseaudio"
"battery"
"clock#date" "clock#date"
"clock" "clock"
]; ];
+11 -4
View File
@@ -1,8 +1,12 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
{ {
imports = imports = [
[
../../base.nix ../../base.nix
./hardware-configuration.nix ./hardware-configuration.nix
@@ -49,7 +53,10 @@
console.keyMap = "no"; console.keyMap = "no";
nixpkgs.config = { nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"microsoft-edge"
"securecrt" "securecrt"
"securefx" "securefx"
]; ];
+8 -1
View File
@@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
{ {
hardware.graphics.enable = true; hardware.graphics.enable = true;
services.xserver = { services.xserver = {
@@ -12,7 +17,9 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
programs.hyprland = { programs.hyprland = {
# See configuration (through home-manager) in home/hypr
enable = true; enable = true;
withUWSM = true;
xwayland.enable = true; xwayland.enable = true;
}; };
+26 -20
View File
@@ -1,10 +1,13 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
emailAddress = "felix.albrigtsen@mktv.no"; emailAddress = "felix.albrigtsen@mktv.no";
in { in
{
imports = [ imports = [
./../../home/base.nix ./../../home/base.nix
./../../home/alacritty.nix ./../../home/alacritty.nix
./../../home/waybar.nix
./../../home/hypr
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
@@ -19,7 +22,9 @@ in {
iperf3 iperf3
jq jq
libreoffice libreoffice
microsoft-edge
mpv mpv
nixpkgs-2211.remmina
oauth2ms oauth2ms
oldssh oldssh
openssl openssl
@@ -29,43 +34,42 @@ in {
traceroute traceroute
virt-manager virt-manager
w3m w3m
nixpkgs-2211.remmina
unstable.microsoft-edge
# (unstable.microsoft-edge.overrideAttrs ({ installPhase ? "", ... }: {
# installPhase = installPhase + ''
# ln -s $out/bin/microsoft-edge $out/bin/microsoft-edge-stable
# '';
# }))
# Window Manager Extras # Window Manager Extras
bibata-cursors
brightnessctl brightnessctl
cliphist cliphist
hyprcursor
hypridle
hyprlock
hyprpaper
hyprshot
nautilus nautilus
rofi-rbw-wayland rofi-rbw-wayland
swaynotificationcenter swaynotificationcenter
waybar
wl-clipboard wl-clipboard
(python312.withPackages (ps: with ps; [ (python312.withPackages (
ps: with ps; [
numpy numpy
pycryptodome pycryptodome
requests requests
])) ]
))
]; ];
wayland.windowManager.hyprland = {
enable = true;
# Override settings from home/hypr/hyprland.nix
settings.config.input = {
kb_layout = "no";
kb_variant = "";
};
};
programs = { programs = {
aerc = { aerc = {
enable = true; enable = true;
package = pkgs.aerc; package = pkgs.aerc;
}; };
firefox.enable = true; firefox = {
enable = true;
configPath = ".mozilla/firefox"; # Old default before 26.05
};
git.settings.user.email = emailAddress; git.settings.user.email = emailAddress;
rbw = { rbw = {
enable = true; enable = true;
@@ -81,10 +85,12 @@ in {
# theme = "iggy"; # theme = "iggy";
theme = "Arc-Dark"; theme = "Arc-Dark";
}; };
waybar.enable = true;
zsh = { zsh = {
shellAliases = { shellAliases = {
"kssh" = "ssh -t controlnode ssh"; "kssh" = "ssh -t controlnode ssh";
"ossh" = "oldssh -oHostKeyAlgorithms=+ssh-dss -oCiphers=+aes256-cbc -oKexAlgorithms=+diffie-hellman-group14-sha1"; "ossh" =
"oldssh -oHostKeyAlgorithms=+ssh-dss -oCiphers=+aes256-cbc -oKexAlgorithms=+diffie-hellman-group14-sha1";
"rebuild" = "sudo nixos-rebuild switch --flake /config"; "rebuild" = "sudo nixos-rebuild switch --flake /config";
}; };
prezto.pmodules = [ "ssh" ]; prezto.pmodules = [ "ssh" ];