Compare commits

...

2 Commits

Author SHA1 Message Date
soraefir
f682198e22 Discord & Wine
Some checks failed
Nix Build / build-nixos (push) Failing after 1h10m34s
2024-09-23 20:01:52 +02:00
soraefir
cb0859f228 added lutris 2024-09-23 18:52:39 +02:00
8 changed files with 31 additions and 7 deletions

17
flake.lock generated
View File

@ -391,6 +391,22 @@
"type": "github" "type": "github"
} }
}, },
"nixMaster": {
"locked": {
"lastModified": 1727112981,
"narHash": "sha256-F1yOcoe+OvWMG44yCcgHP8mqsI95SMS2i0s7h+NlVC8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "848b7926cd8d85cd4c308eb158bf506071f976f6",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1726755586, "lastModified": 1726755586,
@ -445,6 +461,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"nix-colors": "nix-colors", "nix-colors": "nix-colors",
"nixMaster": "nixMaster",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur", "nur": "nur",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",

View File

@ -2,6 +2,7 @@
description = "SoraFlake"; description = "SoraFlake";
inputs = { inputs = {
# Trick renovate into working: "github:NixOS/nixpkgs/nixpkgs-unstable" # Trick renovate into working: "github:NixOS/nixpkgs/nixpkgs-unstable"
nixMaster.url = "github:nixos/nixpkgs/master";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:nixos/nixos-hardware"; hardware.url = "github:nixos/nixos-hardware";
nur.url = "github:nix-community/nur"; nur.url = "github:nix-community/nur";

View File

@ -6,6 +6,7 @@
in ({ in ({
"nixos" = inputs.nixpkgs.lib.nixosSystem { "nixos" = inputs.nixpkgs.lib.nixosSystem {
system = syscfg.syscfg.system; system = syscfg.syscfg.system;
specialArgs = { inherit inputs; };
modules = [ modules = [
./modules/shared/syscfg ./modules/shared/syscfg
./modules/shared/sops ./modules/shared/sops

View File

@ -10,6 +10,7 @@
xfce.tumbler xfce.tumbler
telegram-desktop telegram-desktop
discord
pavucontrol pavucontrol
keepassxc keepassxc
nextcloud-client nextcloud-client

View File

@ -15,10 +15,9 @@
prismlauncher prismlauncher
openttd-jgrpp openttd-jgrpp
bottles bottles
lutris
inputs.umu.packages.${pkgs.system}.umu inputs.umu.packages.${pkgs.system}.umu
wine
wineWow64Packages.waylandFull
proton-ge-bin
]; ];
}; };

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { { inputs, pkgs, ... }: {
nixpkgs.config = { nixpkgs.config = {
permittedInsecurePackages = [ ]; permittedInsecurePackages = [ ];
allowUnfree = true; allowUnfree = true;
@ -8,7 +8,7 @@
}; };
}; };
nixpkgs.overlays = import ../../../../overlays { inherit pkgs; }; nixpkgs.overlays = import ../../../../overlays { inherit inputs pkgs; };
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
extraOptions = '' extraOptions = ''

View File

@ -1,8 +1,13 @@
{ pkgs, ... }: { inputs, pkgs, ... }:
[ [
(final: prev: { (final: prev: {
openttd-jgrpp = import ./openttd-jgrpp { inherit final prev; }; openttd-jgrpp = import ./openttd-jgrpp { inherit final prev; };
yarn-berry = import ./yarn-berry { inherit final prev; }; yarn-berry = import ./yarn-berry { inherit final prev; };
eww = import ./eww { inherit final prev; }; eww = import ./eww { inherit final prev; };
wine = final.unstable.wineWow64Packages.unstableFull;
unstable = import inputs.nixMaster {
system = final.system;
config.allowUnfree = true;
};
}) })
] ]

View File

@ -4,7 +4,7 @@ let
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]; inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
in forEachSystem (system: in forEachSystem (system:
let let
overlays = import ../overlays { inherit pkgs; }; overlays = import ../overlays { inherit inputs pkgs; };
overrides = { custom = import ../pkgs { inherit pkgs; }; }; overrides = { custom = import ../pkgs { inherit pkgs; }; };
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides; pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
in { in {