Compare commits

..

No commits in common. "111b999b0a7a5e78b1c00415bc1fdbd5327d4f4f" and "dc03ca2b7289570775a6fc8be3835563268ceb56" have entirely different histories.

7 changed files with 51 additions and 60 deletions

View File

@ -24,11 +24,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1676628719, "lastModified": 1673433023,
"narHash": "sha256-yZM1hLxPS3OuKNduQSWmiYLAjIZeJ7ExWbCL3A3bi0U=", "narHash": "sha256-wF5qhT3UvGk1Ouog+wEvm21oeD6rvzXg+/wcfPJq0BI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "cd34501a9bcec341533c7131af77572456c100d8", "rev": "d85438fe16bfef13004bc90a50661d0c74252970",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -75,11 +75,11 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"locked": { "locked": {
"lastModified": 1676283394, "lastModified": 1667395993,
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -169,11 +169,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1676367705, "lastModified": 1673343300,
"narHash": "sha256-un5UbRat9TwruyImtwUGcKF823rCEp4fQxnsaLFL7CM=", "narHash": "sha256-5Xdj6kpXYMie0MlnGwqK5FaMdsedxvyuakWtyKB3zaQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "da72e6fc6b7dc0c3f94edbd310aae7cd95c678b5", "rev": "176e455371a8371586e8a3ff0d56ee9f3ca2324e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -381,11 +381,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1675933606, "lastModified": 1673390851,
"narHash": "sha256-y427VhPQHOKkYvkc9MMsL/2R7M11rQxzsRdRLM3htx8=", "narHash": "sha256-dAhsJUIxfg5gWE+uQ3e0ICssS0QPQZt7Pa+75NKtAEw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "44ae00e02e8036a66c08f4decdece7e3bbbefee2", "rev": "9335068481026234c1f41079ad54e28ad92453de",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -413,18 +413,15 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1673540789, "lastModified": 1672617983,
"narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=", "narHash": "sha256-68WDiCBs631mbDDk4UAKdGURKcsfW6hjb7wgudTAe5o=",
"owner": "NixOS", "path": "/nix/store/xaz5fk93mij8i1p7gpccq34mzpm73diq-source",
"repo": "nixpkgs", "rev": "0fc9fca9c8d43edd79d33fea0dd8409d7c4580f4",
"rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf", "type": "path"
"type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "id": "nixpkgs",
"ref": "nixos-unstable", "type": "indirect"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
@ -445,11 +442,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1675115703, "lastModified": 1671983799,
"narHash": "sha256-4zetAPSyY0D77x+Ww9QBe8RHn1akvIvHJ/kgg8kGDbk=", "narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2caf4ef5005ecc68141ecb4aac271079f7371c44", "rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -461,11 +458,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1676481215, "lastModified": 1673226411,
"narHash": "sha256-afma/1RU0EePRyrBPcjBdOt+dV8z1bJH9dtpTN/WXmY=", "narHash": "sha256-b6cGb5Ln7Zy80YO66+cbTyGdjZKtkoqB/iIIhDX9gRA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "28319deb5ab05458d9cd5c7d99e1a24ec2e8fc4b", "rev": "aa1d74709f5dac623adb4d48fdfb27cc2c92a4d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -567,11 +564,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1676633667, "lastModified": 1673426865,
"narHash": "sha256-Lao/f52stjtuifmNK0aFGUxOhAafSbiN+csI686DsDg=", "narHash": "sha256-zNoCWLOqq2X9d188BlIDG46KcTkQ8AGaY9g4yozl2Zs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "7eb9eec5cb2a3ef77646cb451ce546c301ecf884", "rev": "a77112aa2598b741261a2af1383ac372e6f9c104",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -58,8 +58,7 @@
programs = { programs = {
#bluray.enable = true; #bluray.enable = true;
mpv = { mpv = {
primaryScreen = "DP-2"; primaryScreen = "C27F398"; enable = true;
enable = true;
}; };
sway.enable = false; sway.enable = false;
alacritty.enable = true; alacritty.enable = true;
@ -93,6 +92,10 @@
gamemode.enable = true; gamemode.enable = true;
gnome.enable = false; gnome.enable = false;
logiops.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\"";
};
gdm = { gdm = {
enable = false; enable = false;
}; };
@ -106,7 +109,7 @@
}; };
virtualisation = { virtualisation = {
enable = true; enable = true;
gaming.enable = false; gaming.enable = true;
}; };
}; };
programs = { programs = {

View File

@ -9,9 +9,6 @@
(setq fast-but-imprecise-scrolling t) (setq fast-but-imprecise-scrolling t)
(setq make-backup-files nil) (setq create-lockfiles nil) (setq make-backup-files nil) (setq create-lockfiles nil)
; Disable the bell sounds
(setq ring-bell-function 'ignore)
;; A trick for faster startup is to just disable GC for the init phase ;; A trick for faster startup is to just disable GC for the init phase
;;; See: https://github.com/nilcons/emacs-use-package-fast#a-trick-less-gc-during-startup ;;; See: https://github.com/nilcons/emacs-use-package-fast#a-trick-less-gc-during-startup
(setq gc-cons-threshold 64000000) (setq gc-cons-threshold 64000000)

View File

@ -24,10 +24,6 @@ in {
home-manager.users."${config.ptw.system.singleUser}".programs.firefox = { home-manager.users."${config.ptw.system.singleUser}".programs.firefox = {
enable = true; enable = true;
profiles.default = {
id = 0; # NOTE: This is important
isDefault = true;
name = "Default Profile";
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
#https-everywhere #https-everywhere
ublock-origin ublock-origin
@ -35,7 +31,10 @@ in {
decentraleyes decentraleyes
privacy-redirect privacy-redirect
]; ];
profiles.default = {
id = 0; # NOTE: This is important
isDefault = true;
name = "Default Profile";
settings = { settings = {
"browser.search.suggest.enabled" = false; "browser.search.suggest.enabled" = false;
"browser.tabs.drawInTitlebar" = true; "browser.tabs.drawInTitlebar" = true;

View File

@ -22,17 +22,17 @@ in {
#steam-wrapped # Custom package #steam-wrapped # Custom package
gamescope #gamescope
corectrl corectrl
]; ];
# security.wrappers.gamescope = { security.wrappers.gamescope = {
# owner = "alexander"; owner = "root";
# group = "alexander"; group = "root";
# source = "${pkgs.gamescope}/bin/gamescope"; source = "${pkgs.gamescope}/bin/gamescope";
# capabilities = "CAP_SYS_NICE=eip"; capabilities = "cap_sys_nice+ep,cap_setgid+ep,cap_setuid+ep";
# }; };
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
}; };

View File

@ -68,9 +68,4 @@ final: prev:
}; };
discord-app = prev.discord-app.override { chromium = prev.ungoogled-chromium; }; discord-app = prev.discord-app.override { chromium = prev.ungoogled-chromium; };
# Work around https://github.com/NixOS/nixpkgs/issues/216294
pkgsi686Linux = prev.pkgsi686Linux.extend (pfinal: pprev: {
directx-shader-compiler = pprev.directx-shader-compiler.override {stdenv = pfinal.gcc11Stdenv;};
});
} }

View File

@ -6,14 +6,14 @@ poetry2nix.mkPoetryApplication rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "justfoolingaround"; owner = "justfoolingaround";
repo = "animdl"; repo = "animdl";
rev = "9167e03ecb60c21ae1ead90d1472cd7157e1d8b7"; ref = "9167e03ecb60c21ae1ead90d1472cd7157e1d8b7";
sha256 = "1v33kxlxc38awdpxqsb6bfdw0sc45dibg0b4c0qld0pddlppm0qh"; sha256 = "1v33kxlxc38awdpxqsb6bfdw0sc45dibg0b4c0qld0pddlppm0qh";
}; };
projectDir = src; prijectDir = src;
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
inherit (python.meta) platforms; inherit (python.meta) platforms;
}; };
} };