Compare commits
No commits in common. "d8126257f5d9af403adaf74a26be81134c1a16fa" and "136c3a2340b9b72d758e7e55509444fd83a1e837" have entirely different histories.
d8126257f5
...
136c3a2340
179
flake.lock
179
flake.lock
@ -24,11 +24,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1655198178,
|
||||
"narHash": "sha256-S59GMG8VO2r0VkPWNWRktBxCND+jWOei1Km4cWR7XOw=",
|
||||
"lastModified": 1653736770,
|
||||
"narHash": "sha256-Vp8fWSGTEeuWc71rVXsh+ofsHHUPhKunc8aQLGN0ETc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "25ce68a5d0f177f1cc68f48376ee180dc0f9f292",
|
||||
"rev": "ff629e757452d010b7c91fdd2597aeca370bcf68",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -37,22 +37,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1650374568,
|
||||
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "b4a34015c698c7793d592d66adbab377907a2be8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-helper": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@ -76,11 +60,11 @@
|
||||
},
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1653893745,
|
||||
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
|
||||
"lastModified": 1652776076,
|
||||
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
|
||||
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -91,11 +75,11 @@
|
||||
},
|
||||
"flake-utils_2": {
|
||||
"locked": {
|
||||
"lastModified": 1653893745,
|
||||
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
|
||||
"lastModified": 1652776076,
|
||||
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
|
||||
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -166,18 +150,14 @@
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nmd": "nmd",
|
||||
"nmt": "nmt",
|
||||
"utils": "utils"
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1655199284,
|
||||
"narHash": "sha256-R/g2ZWplGWVOfm2TyB4kR+YcOE/uWkgjkYrl/RYgJ/U=",
|
||||
"lastModified": 1653518057,
|
||||
"narHash": "sha256-cam3Nfae5ADeEs6mRPzr0jXB7+DhyMIXz0/0Q13r/yk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "87d30c164849a7471d99749aa4d2d28b81564f69",
|
||||
"rev": "64831f938bd413cefde0b0cf871febc494afaa4f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -217,16 +197,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653518057,
|
||||
"narHash": "sha256-cam3Nfae5ADeEs6mRPzr0jXB7+DhyMIXz0/0Q13r/yk=",
|
||||
"lastModified": 1647175256,
|
||||
"narHash": "sha256-7H+veXPM7IwdN1DoZqliwb9sghlN56koV5dnCu1kpsc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "64831f938bd413cefde0b0cf871febc494afaa4f",
|
||||
"rev": "a8d00f5c038cf7ec54e7dac9c57b171c1217f008",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-22.05",
|
||||
"ref": "release-21.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
@ -239,11 +219,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653518057,
|
||||
"narHash": "sha256-cam3Nfae5ADeEs6mRPzr0jXB7+DhyMIXz0/0Q13r/yk=",
|
||||
"lastModified": 1650478719,
|
||||
"narHash": "sha256-308c2cM4hW9AW6dSQ080ycXGyEJGkG/OwOINkYL9Mnw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "64831f938bd413cefde0b0cf871febc494afaa4f",
|
||||
"rev": "93a69d07389311ffd6ce1f4d01836bbc2faec644",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -323,11 +303,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1654057797,
|
||||
"narHash": "sha256-mXo7C4v7Jj2feBzcReu1Eu/3Rnw5b023E9kOyFsHZQw=",
|
||||
"lastModified": 1653463224,
|
||||
"narHash": "sha256-bUxKhqZhki2vPzFTl8HOo1m7pagF7WzY1MZiso8U5ws=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "0cab18a48de7914ef8cad35dca0bb36868f3e1af",
|
||||
"rev": "39a7bfc496d2ddfce73fe9542af1f2029ba4fe39",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -356,8 +336,8 @@
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-O3wncIouj9x7gBPntzHeK/Hkmm9M1SGlYq7JI7saTAE=",
|
||||
"path": "/nix/store/d84iknazpzwbjbj1j9zh9wnh6v6dzlfb-source",
|
||||
"narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
|
||||
"path": "/nix/store/a3i6cnnswvdg4k38jmibnjms65rjvyi7-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
@ -399,27 +379,23 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1654230545,
|
||||
"narHash": "sha256-8Vlwf0x8ow6pPOK2a04bT+pxIeRnM1+O0Xv9/CuDzRs=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "236cc2971ac72acd90f0ae3a797f9f83098b17ec",
|
||||
"type": "github"
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
|
||||
"path": "/nix/store/a3i6cnnswvdg4k38jmibnjms65rjvyi7-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
"id": "nixpkgs",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1655130522,
|
||||
"narHash": "sha256-5dzlxE4okyu+M39yeVtHWQXzDZQxFF5rUB1iY9R6Lb4=",
|
||||
"lastModified": 1653581809,
|
||||
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "13f08d71ceff5101321e0291854495a1ec153a5e",
|
||||
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -516,45 +492,13 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nmd": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1653339422,
|
||||
"narHash": "sha256-8nc7lcYOgih3YEmRMlBwZaLLJYpLPYKBlewqHqx8ieg=",
|
||||
"owner": "rycee",
|
||||
"repo": "nmd",
|
||||
"rev": "9e7a20e6ee3f6751f699f79c0b299390f81f7bcd",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rycee",
|
||||
"repo": "nmd",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"nmt": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1648075362,
|
||||
"narHash": "sha256-u36WgzoA84dMVsGXzml4wZ5ckGgfnvS0ryzo/3zn/Pc=",
|
||||
"owner": "rycee",
|
||||
"repo": "nmt",
|
||||
"rev": "d83601002c99b78c89ea80e5e6ba21addcfe12ae",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rycee",
|
||||
"repo": "nmt",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1655199919,
|
||||
"narHash": "sha256-DOwpi0H4SVMKJ+QX/REgNESw6EHVoiQYjdHWyZLOuQs=",
|
||||
"lastModified": 1653744184,
|
||||
"narHash": "sha256-YzM0ldFW0OtxDOBgCJ7PBTL+NVRLi6SHy2m9U2gDTvw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nur",
|
||||
"rev": "c92906e4e6425ffe1be7d1a52018c1b8d5b40ca6",
|
||||
"rev": "b6ad2a66f383a92b67f760e63c6fd3c63557e5ef",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -602,11 +546,11 @@
|
||||
"rnix-lsp": "rnix-lsp_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1654961905,
|
||||
"narHash": "sha256-sMIhLZwZ/yMQg4+J3y2ycCUfeXbWzj2PSsg+CGDgI48=",
|
||||
"lastModified": 1653514768,
|
||||
"narHash": "sha256-TF+BUKHpugRmEG5Fg2PNKBZuP65KBz+27s06oaKZPwM=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "7513f8c50469f727eadf80fdeca92477e8daef51",
|
||||
"revCount": 71,
|
||||
"rev": "3f355e8ac0e11bdbb5ab498e12c10c990e578caa",
|
||||
"revCount": 67,
|
||||
"type": "git",
|
||||
"url": "https://destiny.ostylk.de/gitea/NixDistro/Home.git"
|
||||
},
|
||||
@ -633,27 +577,27 @@
|
||||
},
|
||||
"pkg-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1653733789,
|
||||
"narHash": "sha256-VIYazYCWNvcFNns2XQkHx/mVmCZ3oebZv8W2LS1gLQE=",
|
||||
"lastModified": 1647992509,
|
||||
"narHash": "sha256-AG40Nt5OWz0LBs5p457emOuwLKOvTtcv/2fUdnEN3Ws=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d1086907f56c5a6c33c0c2e8dc9f42ef6988294f",
|
||||
"rev": "d2caa9377539e3b5ff1272ac3aa2d15f3081069f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-22.05",
|
||||
"ref": "nixos-21.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pkg-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1653581809,
|
||||
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=",
|
||||
"lastModified": 1650161686,
|
||||
"narHash": "sha256-70ZWAlOQ9nAZ08OU6WY7n4Ij2kOO199dLfNlvO/+pf8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1",
|
||||
"rev": "1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -670,7 +614,7 @@
|
||||
"ostylk",
|
||||
"nixpkgs"
|
||||
],
|
||||
"utils": "utils_2"
|
||||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1640347520,
|
||||
@ -691,7 +635,7 @@
|
||||
"inputs": {
|
||||
"naersk": "naersk_2",
|
||||
"nixpkgs": "nixpkgs_9",
|
||||
"utils": "utils_3"
|
||||
"utils": "utils_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1643586450,
|
||||
@ -724,11 +668,11 @@
|
||||
},
|
||||
"stable": {
|
||||
"locked": {
|
||||
"lastModified": 1655034179,
|
||||
"narHash": "sha256-rf1/7AbzuYDw6+8Xvvf3PtEOygymLBrFsFxvext5ZjI=",
|
||||
"lastModified": 1645296114,
|
||||
"narHash": "sha256-y53N7TyIkXsjMpOG7RhvqJFGDacLs9HlyHeSTBioqYU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "046ee4af7a9f016a364f8f78eeaa356ba524ac31",
|
||||
"rev": "530a53dcbc9437363471167a5e4762c5fcfa34a1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -777,21 +721,6 @@
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"locked": {
|
||||
"lastModified": 1653893745,
|
||||
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils_2": {
|
||||
"locked": {
|
||||
"lastModified": 1629481132,
|
||||
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
|
||||
@ -806,7 +735,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils_3": {
|
||||
"utils_2": {
|
||||
"locked": {
|
||||
"lastModified": 1638122382,
|
||||
"narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=",
|
||||
|
@ -26,7 +26,7 @@
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gajim
|
||||
gajim-mainwindow
|
||||
virt-manager qemu scream
|
||||
replaysorcery # Custom package
|
||||
vfio-isolate # Custom Package
|
||||
@ -49,9 +49,8 @@
|
||||
# Proprietary stuff (yikes)
|
||||
discord-wrapped discord-app-wrapped
|
||||
spotify-wrapped
|
||||
vortex-wrapped
|
||||
zoom-vm
|
||||
|
||||
#lapce
|
||||
];
|
||||
|
||||
ptw = {
|
||||
@ -81,14 +80,15 @@
|
||||
};
|
||||
services = {
|
||||
gamemode.enable = true;
|
||||
gnome.enable = false;
|
||||
gnome.enable = true;
|
||||
logiops.enable = true;
|
||||
input-remapper = {
|
||||
enable = true;
|
||||
postStartCommand = "${pkgs.input-remapper}/bin/input-remapper-control --command start --preset NOOP --device \"Razer Razer Tartarus V2\"";
|
||||
};
|
||||
sddm = {
|
||||
gdm = {
|
||||
enable = true;
|
||||
monitors = ../data/miku/monitors.xml;
|
||||
};
|
||||
};
|
||||
system = {
|
||||
@ -118,7 +118,7 @@
|
||||
};
|
||||
|
||||
boot = let
|
||||
kernel = pkgs.linuxPackages_zen;
|
||||
kernel = pkgs.linuxPackages_xanmod;
|
||||
in {
|
||||
extraModprobeConfig = ''
|
||||
options kvm_amd nested=1
|
||||
|
@ -44,7 +44,6 @@ in inputs.nixpkgs.lib.nixosSystem {
|
||||
emacs.overlay
|
||||
(import ../packages)
|
||||
(import ../overlays/simple.nix)
|
||||
(import ../overlays/phosh.nix)
|
||||
]
|
||||
++ lib.optional bluray (import ../overlays/bluray.nix)
|
||||
++ [
|
||||
|
@ -11,7 +11,6 @@
|
||||
./programs/firefox
|
||||
./programs/gnome
|
||||
./programs/gdm
|
||||
./programs/sddm
|
||||
./programs/gnome-terminal
|
||||
./programs/mpv
|
||||
./programs/git
|
||||
@ -55,8 +54,5 @@
|
||||
|
||||
# Pure options
|
||||
./base.nix
|
||||
|
||||
# Desktop
|
||||
./desktop/phosh.nix
|
||||
];
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.desktop.phosh;
|
||||
in {
|
||||
options.ptw.desktop.phosh = {
|
||||
enable = lib.mkEnableOption "Enable Phosh";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = config.ptw.services.gdm.enable == false;
|
||||
message = "Phosh conflicts GDM";
|
||||
}
|
||||
{
|
||||
assertion = config.services.xserver.displayManager.sddm.enable == false;
|
||||
message = "Phosh conflicts SDDM";
|
||||
}
|
||||
];
|
||||
|
||||
services.xserver.desktopManager.phosh = {
|
||||
user = config.ptw.system.singleUser;
|
||||
group = "users";
|
||||
#package = pkgs.phosh;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -22,8 +22,7 @@ in {
|
||||
|
||||
steam-wrapped # Custom package
|
||||
|
||||
# Broken
|
||||
# gamescope
|
||||
gamescope
|
||||
|
||||
corectrl
|
||||
];
|
||||
|
@ -39,6 +39,7 @@ in {
|
||||
# For config
|
||||
dconf # For home-manager
|
||||
];
|
||||
gnome.excludePackages = pkgs.gnome.optionalPackages;
|
||||
};
|
||||
|
||||
services = {
|
||||
@ -71,6 +72,10 @@ in {
|
||||
libinput.enable = true;
|
||||
|
||||
desktopManager.gnome.enable = true;
|
||||
displayManager.gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,26 +0,0 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.services.sddm;
|
||||
in {
|
||||
options.ptw.services.sddm = {
|
||||
enable = lib.mkEnableOption "Enable SDDM as a display manager";
|
||||
monitors = lib.mkOption {
|
||||
description = "The file to use as a monitors.xml";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = config.ptw.services.gdm.enable == false;
|
||||
message = "Having two display managers is a bad idea";
|
||||
}
|
||||
];
|
||||
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
autoNumlock = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -58,7 +58,7 @@
|
||||
# TODO: Maybe move this somewhere else
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "qt";
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,46 +0,0 @@
|
||||
final: prev:
|
||||
|
||||
rec {
|
||||
phoc = prev.phoc.overrideAttrs (old: rec {
|
||||
version = "0.20.0";
|
||||
|
||||
src = prev.fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
group = "World";
|
||||
owner = "Phosh";
|
||||
repo = "phoc";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mm47n5x7kjgrpxbvb0d0yvpxgzyg90mmmafb6fxhsqklf2dhryy";
|
||||
};
|
||||
|
||||
buildInputs = (map
|
||||
(x: if (prev.lib.getName x) == "wlroots"
|
||||
then prev.wlroots_0_15
|
||||
else x
|
||||
) old.buildInputs);
|
||||
});
|
||||
|
||||
phosh = prev.phosh.overrideAttrs (old: rec {
|
||||
version = "0.20.0";
|
||||
src = prev.fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
group = "World";
|
||||
owner = "Phosh";
|
||||
repo = "phosh";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects
|
||||
sha256 = "sha256-o/0NJZo1EPpXguN/tkUc+/9XaVTQWaLGe+2pU0B91Cg=";
|
||||
};
|
||||
|
||||
buildInputs = (map
|
||||
(x: if (prev.lib.getName x) == "phoc"
|
||||
then phoc
|
||||
else x
|
||||
) old.buildInputs);
|
||||
|
||||
postFixup = ''
|
||||
mkdir -p $out/share/wayland-sessions
|
||||
ln -s $out/share/applications/sm.puri.Phosh.desktop $out/share/wayland-sessions/
|
||||
'';
|
||||
});
|
||||
}
|
@ -85,7 +85,6 @@ in {
|
||||
additionalBlacklist = [ "/mnt" ];
|
||||
additionalMounts = [
|
||||
"/mnt/Storage/Games/LeagueOfLegends"
|
||||
"/mnt/tmp"
|
||||
];
|
||||
mountInHome = [ ".local/share/lutris" ".config/lutris" "Games" ];
|
||||
chdirTo = "/home/$USER";
|
||||
@ -126,4 +125,51 @@ in {
|
||||
};
|
||||
enableDesktopFile = true;
|
||||
};
|
||||
|
||||
vortex-wrapped = let
|
||||
# The path to the wine prefix Vortex is installed in
|
||||
prefixPath = "/mnt/Storage/Games/NewVortex";
|
||||
|
||||
vortexStartScript = prev.writeShellScriptBin "start-vortex.sh" ''
|
||||
WINEARCH=win64 \
|
||||
WINEPREFIX=${prefixPath} \
|
||||
${prev.wineWowPackages.staging}/bin/wine "C:\Program Files\Black Tree Gaming Ltd\Vortex\Vortex.exe"
|
||||
'';
|
||||
vortexIcon = builtins.fetchurl {
|
||||
url = "https://www.nexusmods.com/bootstrap/images/vortex/vortex-logomark.svg";
|
||||
sha256 = "0237wbbyvgapmmjsq5xab0izzaciqjx1si163r75wa2g7xvz4s22";
|
||||
};
|
||||
in wrapInSandbox {
|
||||
name = "vortex-wrapped";
|
||||
launchScriptName = "vortex";
|
||||
binary = "${vortexStartScript}/bin/start-vortex.sh";
|
||||
|
||||
chdirTo = "/mnt/Storage/Games/";
|
||||
additionalBlacklist = [ "/mnt" ];
|
||||
additionalMounts = [
|
||||
# TODO: It doesn't work if we restrict it more
|
||||
"/mnt/Storage"
|
||||
# Wine prefix
|
||||
#"/mnt/Storage/Games/NewVortex"
|
||||
# Mod cache
|
||||
#"/mnt/Storage/Vortex Mods"
|
||||
# Only access Skyrim: SE
|
||||
#"/mnt/Storage/Games/SteamLibrary/SteamLibrary/steamapps/common/Skyrim\ Special\ Edition/"
|
||||
];
|
||||
mountInHome = [
|
||||
# Mod downloads
|
||||
"Downloads/Skyrim Mods"
|
||||
];
|
||||
|
||||
preDesktopFilePhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
cp ${vortexIcon} $out/share/icons/vortex.svg
|
||||
'';
|
||||
desktopFileAttributes = {
|
||||
name = "vortex-wrapped";
|
||||
icon = "vortex";
|
||||
desktopName = "Vortex Mod Manager (wrapped)";
|
||||
};
|
||||
enableDesktopFile = true;
|
||||
};
|
||||
}
|
||||
|
@ -45,6 +45,24 @@ final: prev:
|
||||
cargoPatches = [ ../patches/myxer/0000-1.2.1-set-gio-version.patch ];
|
||||
});
|
||||
|
||||
phosh = prev.phosh.overrideAttrs (old: {
|
||||
src = prev.fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
group = "World";
|
||||
owner = "Phosh";
|
||||
repo = "phosh";
|
||||
rev = "v0.14.1";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-FILSNVBYpWSPXeDb1Vc4jZ7zJMg0Gj6EY5yoc81gUr0=";
|
||||
};
|
||||
patches = [
|
||||
(builtins.fetchurl {
|
||||
url = "https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/923.patch";
|
||||
sha256 = "0fad4x8hzpaf7aq6acfz90njjjrvyc9ipndxmh4kqnm03n7300x0";
|
||||
})
|
||||
];
|
||||
});
|
||||
|
||||
xournalpp-git = prev.xournalpp.overrideAttrs (old: {
|
||||
version = "1.1.1";
|
||||
src = prev.fetchFromGitHub {
|
||||
@ -55,40 +73,19 @@ final: prev:
|
||||
};
|
||||
});
|
||||
|
||||
discord = prev.discord.overrideAttrs (old: rec {
|
||||
version = "0.0.18";
|
||||
/*
|
||||
discord = prev.discord.overrideAttrs (old: {
|
||||
version = "0.0.17";
|
||||
src = prev.fetchurl {
|
||||
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
||||
sha256 = "sha256-BBc4n6Q3xuBE13JS3gz/6EcwdOWW57NLp2saOlwOgMI=";
|
||||
url = "https://dl.discordapp.net/apps/linux/0.0.17/discord-0.0.17.tar.gz";
|
||||
sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU=";
|
||||
};
|
||||
});
|
||||
*/
|
||||
|
||||
tor-browser-bundle-bin = prev.tor-browser-bundle-bin.override {
|
||||
useHardenedMalloc = false;
|
||||
};
|
||||
|
||||
discord-app = prev.discord-app.override { chromium = prev.ungoogled-chromium; };
|
||||
|
||||
lapce = prev.lapce.overrideAttrs (old: rec {
|
||||
version = "0.1.2";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "lapce";
|
||||
repo = "lapce";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pn3ikh72z5y1ywx3bilghrzrwqc1inds2yxnz37l8s1azf3nzlc";
|
||||
};
|
||||
|
||||
cargoDeps = old.cargoDeps.overrideAttrs (_: {
|
||||
inherit src;
|
||||
outputHash = "sha256-spmRgwTh0Sg+OvT/s85xEvOfs2DdCihnX6Ya+sDyePM=";
|
||||
});
|
||||
buildInputs = with prev; old.buildInputs ++ [ libglvnd glibc ];
|
||||
|
||||
preFixup = ''
|
||||
patchelf \
|
||||
--add-needed ${prev.vulkan-loader}/lib/libvulkan.so.1 \
|
||||
--add-needed ${prev.libglvnd}/lib/libGL.so.1 \
|
||||
$out/bin/lapce
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,82 @@
|
||||
{ lib, fetchurl, gettext, wrapGAppsHook
|
||||
|
||||
# Native dependencies
|
||||
, python3, gtk3, gobject-introspection, gnome
|
||||
, glib-networking, gsound, nbxmpp, gtksourceview4
|
||||
|
||||
# Test dependencies
|
||||
, xvfb-run, dbus
|
||||
|
||||
# Optional dependencies
|
||||
, enableE2E ? true
|
||||
, enableSecrets ? true, libsecret
|
||||
, enableRST ? true, docutils
|
||||
, enableSpelling ? true, gspell
|
||||
, enableUPnP ? true, gupnp-igd
|
||||
, enableOmemoPluginDependencies ? true
|
||||
, enableAppIndicator ? true, libappindicator-gtk3
|
||||
, extraPythonPackages ? ps: []
|
||||
}:
|
||||
|
||||
let
|
||||
commit = "2bbd96644828c43def6c95555f33dfb011df1f5f";
|
||||
in python3.pkgs.buildPythonApplication rec {
|
||||
pname = "gajim";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.gajim.org/gajim/gajim/-/archive/${commit}/gajim-${commit}.tar.gz";
|
||||
sha256 = "sha256-8VfV8BU5U9idQ0lP7lZSUUxe8nxXT4X/C2xKegjiHkA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gobject-introspection gtk3 gnome.adwaita-icon-theme
|
||||
glib-networking
|
||||
] ++ lib.optional enableSecrets libsecret
|
||||
++ lib.optional enableSpelling gspell
|
||||
++ lib.optional enableUPnP gupnp-igd
|
||||
++ lib.optional enableAppIndicator libappindicator-gtk3;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext wrapGAppsHook
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools gsound
|
||||
gst-python gtksourceview4 packaging
|
||||
] ++ lib.optionals enableE2E [ pycrypto python-gnupg ]
|
||||
++ lib.optional enableRST docutils
|
||||
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
||||
++ extraPythonPackages python3.pkgs;
|
||||
|
||||
checkInputs = [ xvfb-run dbus.daemon ];
|
||||
|
||||
checkPhase = ''
|
||||
# https://dev.gajim.org/gajim/gajim/-/issues/10478
|
||||
rm test/lib/gajim_mocks.py test/unit/test_gui_interface.py
|
||||
|
||||
xvfb-run dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
${python3.interpreter} setup.py test
|
||||
'';
|
||||
doCheck = false;
|
||||
|
||||
# necessary for wrapGAppsHook
|
||||
strictDeps = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://gajim.org/";
|
||||
description = "Jabber client written in PyGTK";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ raskin abbradar ];
|
||||
downloadPage = "http://gajim.org/downloads.php";
|
||||
updateWalker = true;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -63,6 +63,18 @@ in {
|
||||
|
||||
trackma = prev.callPackage ./tools/video/trackma {};
|
||||
|
||||
gajim-mainwindow = prev.callPackage ./applications/networking/instant-messengers/gajim {
|
||||
nbxmpp = prev.python3Packages.nbxmpp.overrideAttrs (old: {
|
||||
src = prev.fetchFromGitLab {
|
||||
domain = "dev.gajim.org";
|
||||
owner = "gajim";
|
||||
repo = "python-nbxmpp";
|
||||
rev = "2c74f928f2ff2573b40c7fadc3cc52eaf936e370";
|
||||
sha256 = "045qj3q497lrdgjd7j0xwjrhfbnafhs2qk2a308a52fmpg702xm7";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
swaync = prev.callPackage ./tools/desktop/swaync {};
|
||||
|
||||
sound-gambit = prev.callPackage tools/audio/sound-gambit {};
|
||||
@ -85,6 +97,8 @@ in {
|
||||
|
||||
razer-cli = prev.callPackage tools/hardware/razer-cli {};
|
||||
|
||||
gamescope = prev.callPackage tools/games/gamescope {};
|
||||
|
||||
wayfire-firedecor = prev.callPackage applications/wayfire/firedecor {
|
||||
wayfire = wayfire-master;
|
||||
};
|
||||
|
60
packages/tools/games/gamescope/default.nix
Normal file
60
packages/tools/games/gamescope/default.nix
Normal file
@ -0,0 +1,60 @@
|
||||
{ lib, stdenv, fetchFromGitHub, meson, pkgconfig, libdrm, xorg
|
||||
, wayland, wayland-protocols, libxkbcommon, libcap
|
||||
, SDL2, mesa, libinput, pixman, xcbutilerrors, xcbutilwm, glslang
|
||||
, ninja, makeWrapper, xwayland, libuuid, xcbutilrenderutil
|
||||
, pipewire, stb, writeText, wlroots, vulkan-loader, vulkan-headers }:
|
||||
|
||||
let
|
||||
stbpc = writeText "stbpc" ''
|
||||
prefix=${stb}
|
||||
includedir=''${prefix}/include/stb
|
||||
Cflags: -I''${includedir}
|
||||
Name: stb
|
||||
Version: ${stb.version}
|
||||
Description: stb
|
||||
'';
|
||||
stb_ = stb.overrideAttrs (oldAttrs: rec {
|
||||
installPhase = ''
|
||||
${oldAttrs.installPhase}
|
||||
install -Dm644 ${stbpc} $out/lib/pkgconfig/stb.pc
|
||||
'';
|
||||
});
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "gamescope";
|
||||
version = "3.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Plagman";
|
||||
repo = "gamescope";
|
||||
rev = version;
|
||||
sha256 = "05a1sj1fl9wpb9jys515m96958cxmgim8i7zc5mn44rjijkfbfcb";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace meson.build \
|
||||
--replace "'examples=false'" "'examples=false', 'logind-provider=systemd', 'libseat=disabled'"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gamescope \
|
||||
--prefix PATH : "${lib.makeBinPath [ xwayland ]}"
|
||||
'';
|
||||
|
||||
buildInputs = with xorg; [
|
||||
libX11 libXdamage libXcomposite libXrender libXext libXxf86vm
|
||||
libXtst libdrm vulkan-loader wayland wayland-protocols
|
||||
libxkbcommon libcap SDL2 mesa libinput pixman xcbutilerrors
|
||||
xcbutilwm libXi libXres libuuid xcbutilrenderutil xwayland
|
||||
pipewire wlroots
|
||||
];
|
||||
nativeBuildInputs = [ meson pkgconfig glslang ninja makeWrapper stb_ ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The micro-compositor formerly known as steamcompmgr";
|
||||
license = licenses.bsd2;
|
||||
homepage = src.meta.homepage;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user