Compare commits

..

4 commits

Author SHA1 Message Date
7168ebab38
NixOS: Upgrade to 24.11 2024-12-02 14:20:49 +01:00
441797fd2f
fixup! Fix nix warnings 2024-12-02 12:47:59 +01:00
a6a7e29893
Add nix compat using nix-ld 2024-12-02 12:44:14 +01:00
1ffe166e56
Fix nix warnings 2024-12-02 12:43:57 +01:00
14 changed files with 114 additions and 44 deletions

View file

@ -458,16 +458,16 @@
]
},
"locked": {
"lastModified": 1726989464,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
"lastModified": 1733050161,
"narHash": "sha256-lYnT+EYE47f5yY3KS/Kd4pJ6CO9fhCqumkYYkQ3TK20=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"rev": "62d536255879be574ebfe9b87c4ac194febf47c5",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.05",
"ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
@ -938,16 +938,16 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1732749044,
"narHash": "sha256-T38FQOg0BV5M8FN1712fovzNakSOENEYs+CSkg31C9Y=",
"lastModified": 1732981179,
"narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
"rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.05",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -3,14 +3,14 @@
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
# You can access packages and modules from different nixpkgs revs
# at the same time. Here's an working example:
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
# Home manager
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hardware.url = "github:nixos/nixos-hardware";

View file

@ -19,7 +19,7 @@
# Disable gnome-keyring ssh-agent
xdg.configFile."autostart/gnome-keyring-ssh.desktop".text = ''
${lib.fileContents "${pkgs.gnome3.gnome-keyring}/etc/xdg/autostart/gnome-keyring-ssh.desktop"}
${lib.fileContents "${pkgs.gnome-keyring}/etc/xdg/autostart/gnome-keyring-ssh.desktop"}
Hidden=true
'';
}

View file

@ -1,5 +1,5 @@
{inputs, ...}: {
imports = [inputs.flatpaks.homeManagerModules.default];
imports = [inputs.flatpaks.homeManagerModules.declarative-flatpak];
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [

View file

@ -59,7 +59,7 @@
nix = {
package = lib.mkDefault pkgs.nix;
settings = {
experimental-features = ["nix-command" "flakes" "repl-flake"];
experimental-features = ["nix-command" "flakes"];
warn-dirty = false;
};
};

View file

@ -61,7 +61,7 @@
allowUnfree = true;
firefox.enablePlasmaBrowserIntegration = true;
segger-jlink.acceptLicense = true;
permittedInsecurePackages = ["segger-jlink-qt4-794l"];
permittedInsecurePackages = ["segger-jlink-qt4-796s"];
};
};

View file

@ -16,5 +16,5 @@
};
};
console.keyMap = "de";
services.xserver.layout = "de";
services.xserver.xkb.layout = "de";
}

View file

@ -6,7 +6,7 @@
nix = {
settings = {
auto-optimise-store = lib.mkDefault true;
experimental-features = ["nix-command" "flakes" "repl-flake"];
experimental-features = ["nix-command" "flakes"];
warn-dirty = false;
system-features = ["kvm" "big-parallel" "nixos-test"];
};

View file

@ -7,45 +7,41 @@
imports = [./global.nix ./x11.nix ./wayland.nix];
services = {
libinput.enable = true;
xserver = {
desktopManager.gnome = {
enable = true;
};
libinput.enable = true;
modules = [pkgs.xf86_input_wacom];
wacom.enable = true;
};
udev.packages = with pkgs; [
gnome.gnome-settings-daemon
gnome-settings-daemon
];
};
environment = {
systemPackages = with pkgs; [
# System-Wide Packages
gnome.adwaita-icon-theme
gnome.dconf-editor
gnome.gnome-tweaks
adwaita-icon-theme
dconf-editor
gnome-tweaks
gnomeExtensions.kimpanel
gnomeExtensions.vitals
gnomeExtensions.tray-icons-reloaded
];
gnome.excludePackages =
(with pkgs; [
# Ignored Packages
gnome-tour
gedit
])
++ (with pkgs.gnome; [
atomix
epiphany
geary
gnome-characters
gnome-contacts
gnome-initial-setup
hitori
iagno
tali
]);
gnome.excludePackages = with pkgs; [
gnome-tour
gedit
atomix
epiphany
geary
gnome-characters
gnome-contacts
gnome-initial-setup
hitori
iagno
tali
];
};
}

View file

@ -1,6 +1,7 @@
{pkgs, ...}: {
i18n.inputMethod = {
enabled = "fcitx5";
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk

View file

@ -5,11 +5,12 @@
...
}: {
services = {
libinput.enable = true; # Enable touchpad support
libinput.touchpad.naturalScrolling = true;
# Enable the X11 windowing system.
xserver = {
enable = true;
# Enable touchpad support
libinput.enable = true;
# Remove xterm terminal
excludePackages = with pkgs; [xterm];
modules = [pkgs.xf86_input_wacom];

View file

@ -0,0 +1,69 @@
{
pkgs,
lib,
config,
...
}: {
services.envfs.enable = lib.mkDefault true;
programs.nix-ld.enable = lib.mkDefault true;
programs.nix-ld.libraries = with pkgs;
[
acl
attr
bzip2
dbus
expat
fontconfig
freetype
fuse3
icu
libnotify
libsodium
libssh
libunwind
libusb1
libuuid
nspr
nss
stdenv.cc.cc
util-linux
zlib
zstd
]
++ lib.optionals (config.hardware.graphics.enable) [
pipewire
cups
libxkbcommon
pango
mesa
libdrm
libglvnd
libpulseaudio
atk
cairo
alsa-lib
at-spi2-atk
at-spi2-core
gdk-pixbuf
glib
gtk3
libGL
libappindicator-gtk3
vulkan-loader
xorg.libX11
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libxcb
xorg.libxkbfile
xorg.libxshmfence
];
}

View file

@ -9,7 +9,8 @@
printing.enable = true;
avahi = {
enable = true;
nssmdns = true;
nssmdns4 = true;
nssmdns6 = true;
# for a WiFi printer
openFirewall = true;
};

View file

@ -34,6 +34,7 @@
../common/optional/desktop/japanese.nix
../common/optional/udisks.nix
../common/optional/tailscale.nix
../common/optional/fhs-compat.nix
];
nixpkgs = {
@ -59,11 +60,12 @@
# Disable if you don't want unfree packages
allowUnfree = true;
segger-jlink.acceptLicense = true;
permittedInsecurePackages = ["segger-jlink-qt4-794l"];
permittedInsecurePackages = ["segger-jlink-qt4-796s"];
};
};
networking.hostName = "ludwig";
systemd.services.NetworkManager-wait-online.enable = false;
services.udev.packages = [pkgs.segger-jlink];
@ -76,7 +78,7 @@
};
hardware = {
opengl = {
graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD