nix: update to lockfile version

This commit is contained in:
js0ny 2025-10-20 05:01:29 +01:00
parent c0572e749d
commit 8f3bcec6f1
8 changed files with 107 additions and 113 deletions

View file

@ -27,8 +27,7 @@
}; };
}; };
outputs = outputs = {
{
self, self,
nixpkgs, nixpkgs,
nix-flatpak, nix-flatpak,
@ -39,36 +38,33 @@
winboat, winboat,
caelestia-shell, caelestia-shell,
... ...
}@inputs: } @ inputs: let
let
overlays = [ overlays = [
nur.overlays.default nur.overlays.default
(final: prev: { (final: prev: {
winboat = winboat.packages.x86_64-linux.winboat; winboat = winboat.packages.x86_64-linux.winboat;
caelestia-shell = caelestia-shell.packages.x86_64-linux.caelestia-shell;
}) })
]; ];
forSystem = forSystem = system:
system:
import nixpkgs { import nixpkgs {
inherit system overlays; inherit system overlays;
config.allowUnfree = true; config.allowUnfree = true;
}; };
specialArgs = { inherit inputs; }; specialArgs = {inherit inputs overlays;};
nixosHosts = [ nixosHosts = [
"zp" "zp"
"zephyrus" "zephyrus"
"nixvirt" "nixvirt"
]; ];
mkNixosSystem = mkNixosSystem = hostname:
hostname:
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
inherit specialArgs; inherit specialArgs;
modules = [ ./hosts/${hostname} ]; modules = [./hosts/${hostname} {nixpkgs.overlays = overlays;}];
}; };
in in {
{
# This will automatically generate nixOS config for `nixosHosts' # This will automatically generate nixOS config for `nixosHosts'
# Include the module ./hosts/${hostname} by default. # Include the module ./hosts/${hostname} by default.
nixosConfigurations = nixpkgs.lib.genAttrs nixosHosts mkNixosSystem; nixosConfigurations = nixpkgs.lib.genAttrs nixosHosts mkNixosSystem;

View file

@ -14,6 +14,7 @@
../../modules/nixos/chromium.nix ../../modules/nixos/chromium.nix
../../modules/nixos/obs-studio.nix ../../modules/nixos/obs-studio.nix
../../modules/nixos/wine.nix ../../modules/nixos/wine.nix
../../modules/nixos/gnome-keyring.nix
../../modules/nixos/desktop/kde.nix ../../modules/nixos/desktop/kde.nix
../../modules/nixos/desktop/hyprland.nix ../../modules/nixos/desktop/hyprland.nix
../../modules/nixos/display-manager/sddm.nix ../../modules/nixos/display-manager/sddm.nix

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
home.packages = with pkgs; [ home.packages = with pkgs; [
gcr gcr
]; ];

View file

@ -1,22 +1,18 @@
{ {pkgs, ...}: {
pkgs,
inputs,
...
}: {
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
withUWSM = false; withUWSM = false;
xwayland.enable = true; xwayland.enable = true;
}; };
environment.systemPackages = [ environment.systemPackages = with pkgs; [
inputs.caelestia-shell.packages.x86_64-linux.default caelestia-shell
pkgs.mako mako
pkgs.rofi-wayland rofi
pkgs.xdg-desktop-portal-wlr xdg-desktop-portal-wlr
pkgs.xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
pkgs.hyprpolkitagent hyprpolkitagent
pkgs.cliphist cliphist
pkgs.grimblast grimblast
]; ];
} }

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: let
pkgs,
config,
...
}: let
fontPkgs = [ fontPkgs = [
pkgs.maple-mono.NF pkgs.maple-mono.NF
pkgs.sarasa-gothic pkgs.sarasa-gothic
@ -51,7 +47,7 @@ in {
fontPkgs fontPkgs
++ [ ++ [
# Add cursor supports # Add cursor supports
pkgs.libsForQt5.breeze-qt5 pkgs.kdePackages.breeze
]; # with pkgs; [ ]; # with pkgs; [
# libsForQt5.breeze-qt5 # libsForQt5.breeze-qt5

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
services.gnome.gnome-keyring.enable = true;
services.gnome.gcr-ssh-agent.enable = true;
programs.ssh = {
enableAskPassword = true;
};
}

View file

@ -11,15 +11,15 @@
package = pkgs.qemu_kvm; package = pkgs.qemu_kvm;
runAsRoot = true; runAsRoot = true;
swtpm.enable = true; swtpm.enable = true;
ovmf = { # ovmf = {
enable = true; # enable = true;
packages = [ # packages = [
(pkgs.OVMF.override { # (pkgs.OVMF.override {
secureBoot = true; # secureBoot = true;
tpmSupport = true; # tpmSupport = true;
}).fd # }).fd
]; # ];
}; # };
}; };
}; };
users.users.js0ny = { users.users.js0ny = {

View file

@ -13,7 +13,7 @@
type = "fcitx5"; type = "fcitx5";
fcitx5 = { fcitx5 = {
waylandFrontend = true; waylandFrontend = true;
plasma6Support = true; # plasma6Support = true;
addons = with pkgs; [ addons = with pkgs; [
fcitx5-rime fcitx5-rime
kdePackages.fcitx5-configtool kdePackages.fcitx5-configtool