fa-t14-2025: update to nixos 26.05
Includes corresponding updates to home/hypr and home/waybar
This commit is contained in:
+41
-7
@@ -1,4 +1,9 @@
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
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"
|
||||
"hyprswitch init --size-factor 5 &"
|
||||
"wl-paste --type text --watch cliphist store #Stores only text 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
|
||||
"sisko" = [
|
||||
"hyprctl hyprpaper wallpaper 'DP-1, ${wpDir}/Ultrawide_Stray_City.png'"
|
||||
"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
|
||||
''
|
||||
@@ -52,7 +68,25 @@
|
||||
}
|
||||
|
||||
# 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
|
||||
{
|
||||
@@ -126,8 +160,8 @@
|
||||
};
|
||||
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
kb_variant = "intl";
|
||||
kb_layout = lib.mkDefault "us";
|
||||
kb_variant = lib.mkDefault "intl";
|
||||
kb_model = "";
|
||||
kb_options = "ctrl:nocaps";
|
||||
kb_rules = "";
|
||||
|
||||
@@ -19,6 +19,7 @@ in
|
||||
"tray"
|
||||
"network"
|
||||
"pulseaudio"
|
||||
"battery"
|
||||
"clock#date"
|
||||
"clock"
|
||||
];
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
../../base.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
@@ -49,7 +53,10 @@
|
||||
console.keyMap = "no";
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"microsoft-edge"
|
||||
"securecrt"
|
||||
"securefx"
|
||||
];
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
hardware.graphics.enable = true;
|
||||
services.xserver = {
|
||||
@@ -12,7 +17,9 @@
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
# See configuration (through home-manager) in home/hypr
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
|
||||
+26
-20
@@ -1,10 +1,13 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
emailAddress = "felix.albrigtsen@mktv.no";
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./../../home/base.nix
|
||||
./../../home/alacritty.nix
|
||||
./../../home/waybar.nix
|
||||
./../../home/hypr
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
@@ -19,7 +22,9 @@ in {
|
||||
iperf3
|
||||
jq
|
||||
libreoffice
|
||||
microsoft-edge
|
||||
mpv
|
||||
nixpkgs-2211.remmina
|
||||
oauth2ms
|
||||
oldssh
|
||||
openssl
|
||||
@@ -29,43 +34,42 @@ in {
|
||||
traceroute
|
||||
virt-manager
|
||||
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
|
||||
bibata-cursors
|
||||
brightnessctl
|
||||
cliphist
|
||||
hyprcursor
|
||||
hypridle
|
||||
hyprlock
|
||||
hyprpaper
|
||||
hyprshot
|
||||
nautilus
|
||||
rofi-rbw-wayland
|
||||
swaynotificationcenter
|
||||
waybar
|
||||
wl-clipboard
|
||||
|
||||
(python312.withPackages (ps: with ps; [
|
||||
(python312.withPackages (
|
||||
ps: with ps; [
|
||||
numpy
|
||||
pycryptodome
|
||||
requests
|
||||
]))
|
||||
]
|
||||
))
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# Override settings from home/hypr/hyprland.nix
|
||||
settings.config.input = {
|
||||
kb_layout = "no";
|
||||
kb_variant = "";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
aerc = {
|
||||
enable = true;
|
||||
package = pkgs.aerc;
|
||||
};
|
||||
firefox.enable = true;
|
||||
firefox = {
|
||||
enable = true;
|
||||
configPath = ".mozilla/firefox"; # Old default before 26.05
|
||||
};
|
||||
git.settings.user.email = emailAddress;
|
||||
rbw = {
|
||||
enable = true;
|
||||
@@ -81,10 +85,12 @@ in {
|
||||
# theme = "iggy";
|
||||
theme = "Arc-Dark";
|
||||
};
|
||||
waybar.enable = true;
|
||||
zsh = {
|
||||
shellAliases = {
|
||||
"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";
|
||||
};
|
||||
prezto.pmodules = [ "ssh" ];
|
||||
|
||||
Reference in New Issue
Block a user