This commit is contained in:
sadan 2025-01-14 18:43:10 -05:00
parent cf9b06f1f0
commit c9601f0731
No known key found for this signature in database
10 changed files with 184 additions and 79 deletions

3
.gitmodules vendored
View file

@ -7,6 +7,3 @@
[submodule "customPackages/chrome-pak-customizer"] [submodule "customPackages/chrome-pak-customizer"]
path = customPackages/chrome-pak-customizer path = customPackages/chrome-pak-customizer
url = git@github.com:sadan4/chrome-pak-customizer url = git@github.com:sadan4/chrome-pak-customizer
[submodule "customPackages/ceserver"]
path = customPackages/ceserver
url = git@github.com:sadan4/ceserver.git

View file

@ -5,6 +5,7 @@
config, config,
pkgs, pkgs,
inputs, inputs,
stable,
... ...
}: }:
{ {
@ -27,6 +28,7 @@
]; ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
nix.package = stable.nix;
hardware.i2c.enable = true; hardware.i2c.enable = true;
hardware.amdgpu.opencl.enable = true; hardware.amdgpu.opencl.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ];

View file

@ -10,7 +10,7 @@
glib glib
bear bear
glibc glibc
gdb pinned.gdb
lldb_19 lldb_19
cpkg.ceserver cpkg.ceserver
unstable.llvmPackages_19.clang-tools unstable.llvmPackages_19.clang-tools

View file

@ -1,4 +1,5 @@
{ config, ... }: { { config, ... }: {
systemd.user.services.flameshot.Unit.After = [];
services = { services = {
flameshot = { flameshot = {
enable = true; enable = true;
@ -7,7 +8,6 @@
savePath = "/home/${config.home.username}/ss/"; savePath = "/home/${config.home.username}/ss/";
saveAsFileExtension = ".png"; saveAsFileExtension = ".png";
showDesktopNotification = false; showDesktopNotification = false;
startupLaunch = true;
}; };
}; };
}; };

View file

@ -4,7 +4,8 @@
overlays = [ overlays = [
# self: super: # self: super:
# pkgs: _: # pkgs: _:
(pkgs: _: (
pkgs: _:
let let
defaultOpts = { defaultOpts = {
system = pkgs.system; system = pkgs.system;
@ -17,41 +18,51 @@
# extend packages here # extend packages here
pinned = { pinned = {
# 1.89.1 # 1.89.1
vscode = (import vscode =
(builtins.fetchGit { (import (builtins.fetchGit {
# Descriptive name to make the store path easier to identify # Descriptive name to make the store path easier to identify
name = "pinned-vscode"; name = "pinned-vscode";
url = "https://github.com/NixOS/nixpkgs/"; url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable"; ref = "refs/heads/nixpkgs-unstable";
rev = "0c19708cf035f50d28eb4b2b8e7a79d4dc52f6bb"; rev = "0c19708cf035f50d28eb4b2b8e7a79d4dc52f6bb";
}) }) defaultOpts).vscode;
defaultOpts).vscode;
# removed for having out of date electron # removed for having out of date electron
etcher = (import etcher =
(builtins.fetchGit { (import
# Descriptive name to make the store path easier to identify (builtins.fetchGit {
name = "pinned-etcher"; # Descriptive name to make the store path easier to identify
url = "https://github.com/NixOS/nixpkgs/"; name = "pinned-etcher";
ref = "refs/heads/nixpkgs-unstable"; url = "https://github.com/NixOS/nixpkgs/";
rev = "336eda0d07dc5e2be1f923990ad9fdb6bc8e28e3"; ref = "refs/heads/nixpkgs-unstable";
}) rev = "336eda0d07dc5e2be1f923990ad9fdb6bc8e28e3";
{ })
system = pkgs.system; {
config = { system = pkgs.system;
permittedInsecurePackages = [ "electron-19.1.9" ]; config = {
}; permittedInsecurePackages = [ "electron-19.1.9" ];
}).etcher; };
}
).etcher;
# support non-updated plugins # support non-updated plugins
idea-ultimate = (import idea-ultimate =
(builtins.fetchGit { (import (builtins.fetchGit {
name = "pinned-idea-ultimate"; name = "pinned-idea-ultimate";
url = "https://github.com/NixOS/nixpkgs/"; url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable"; ref = "refs/heads/nixpkgs-unstable";
rev = "05bbf675397d5366259409139039af8077d695ce"; rev = "05bbf675397d5366259409139039af8077d695ce";
}) }) defaultOpts).jetbrains.idea-ultimate;
defaultOpts).jetbrains.idea-ultimate; gdb =
(import (builtins.fetchGit {
# Descriptive name to make the store path easier to identify
name = "my-old-revision";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "05bbf675397d5366259409139039af8077d695ce";
}) defaultOpts).gdb;
}; };
}) }
)
]; ];
}; };
} }

@ -1 +0,0 @@
Subproject commit 8d4e3d9135e3f5505e14a73bd2084508425902d4

View file

@ -9,7 +9,7 @@
# vencord = pkgs.callPackage ./vencord/package.nix { }; # vencord = pkgs.callPackage ./vencord/package.nix { };
frog = pkgs.callPackage ./frog { }; frog = pkgs.callPackage ./frog { };
chrome-pak-customizer = pkgs.callPackage inputs.chrome-pak { }; chrome-pak-customizer = pkgs.callPackage inputs.chrome-pak { };
ceserver = pkgs.callPackage inputs.ceserver { }; ceserver = inputs.ceserver.flakePackage pkgs;
scripts = inputs.scripts.flakePackage pkgs; scripts = inputs.scripts.flakePackage pkgs;
}; };
}) })

@ -1 +1 @@
Subproject commit 64ada88f6a98ca4d0d1f8b0731d6eb05c5458a99 Subproject commit 2e9ffe0933a170332bc490771a01dbbd75d06d71

View file

@ -181,19 +181,25 @@
} }
}, },
"ceserver": { "ceserver": {
"flake": false, "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
},
"locked": { "locked": {
"lastModified": 1734914170, "lastModified": 1736890977,
"narHash": "sha256-B7skTPWTsKVU/0rySrIirXPzviBunjnwOUMGfc2sQ6Y=", "narHash": "sha256-40lqruAtMWVbuslqmm7tSja2mDDL1QnTjfsVTWk3C/0=",
"ref": "refs/heads/main", "owner": "sadan4",
"rev": "8d4e3d9135e3f5505e14a73bd2084508425902d4", "repo": "ceserver",
"revCount": 3, "rev": "e3c2b7c3b5cb9eb5bb322632c55b6fea44b0b2ec",
"type": "git", "type": "github"
"url": "file:./customPackages/ceserver"
}, },
"original": { "original": {
"type": "git", "owner": "sadan4",
"url": "file:./customPackages/ceserver" "repo": "ceserver",
"type": "github"
} }
}, },
"chrome-pak": { "chrome-pak": {
@ -212,6 +218,22 @@
"url": "file:./customPackages/chrome-pak-customizer" "url": "file:./customPackages/chrome-pak-customizer"
} }
}, },
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1734969791,
"narHash": "sha256-A9PxLienMYJ/WUvqFie9qXrNC2MeRRYw7TG/q7DRjZg=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "92f4890bd150fc9d97b61b3583680c0524a8cafe",
"type": "github"
},
"original": {
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"locked": { "locked": {
"lastModified": 1733328505, "lastModified": 1733328505,
@ -280,11 +302,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1733312601, "lastModified": 1736143030,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", "narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", "rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -295,7 +317,10 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": [
"ceserver",
"systems"
]
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -382,6 +407,59 @@
"type": "github" "type": "github"
} }
}, },
"git-hooks": {
"inputs": {
"flake-compat": [
"stylix",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": [
"stylix",
"nixpkgs"
],
"nixpkgs-stable": [
"stylix",
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1731363552,
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"stylix",
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"gnome-shell": { "gnome-shell": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -423,11 +501,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734893686, "lastModified": 1736785676,
"narHash": "sha256-JUEZn9MmpLGsW4J3luSX+R4BhcThccYpYg5AuKW7zG0=", "narHash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "edb8b00e4d17b2116b60eca50f38ac68f12b9ab4", "rev": "fc52a210b60f2f52c74eac41a8647c1573d2071d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -465,11 +543,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733085484, "lastModified": 1735774425,
"narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=", "narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163", "rev": "5f6aa268e419d053c3d5025da740e390b12ac936",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -502,7 +580,7 @@
"nix-alien": { "nix-alien": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nix-filter": "nix-filter", "nix-filter": "nix-filter",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
@ -563,11 +641,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734838217, "lastModified": 1736652904,
"narHash": "sha256-zvMLS8BGn+kMG7tLLT3PJ67/S9yqZ9B7V8hKBa9cRRY=", "narHash": "sha256-8uolHABgroXqzs03QdulHp8H9e5kWQZnnhcda1MKbBM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "d583b2d142f0428313df099f4a2dcf2a0496aa78", "rev": "271e5bd7c57e1f001693799518b10a02d1123b12",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -578,11 +656,11 @@
}, },
"nix-stable": { "nix-stable": {
"locked": { "locked": {
"lastModified": 1734529975, "lastModified": 1735563628,
"narHash": "sha256-ze3IJksru9dN0keqUxY0WNf8xrwfs8Ty/z9v/keyBbg=", "narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "72d11d40b9878a67c38f003c240c2d2e1811e72a", "rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -595,17 +673,16 @@
"nixos-wsl": { "nixos-wsl": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_2",
"nixpkgs": [ "nixpkgs": [
"nix-stable" "nix-stable"
] ]
}, },
"locked": { "locked": {
"lastModified": 1733854371, "lastModified": 1736095716,
"narHash": "sha256-K9qGHniYBbjqVcEiwXyiofj/IFf78L5F0/FCf+CKyr0=", "narHash": "sha256-csysw/Szu98QDiA2lhWk9seYOyCebeVEWL89zh1cduM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-wsl", "repo": "nixos-wsl",
"rev": "dee4425dcee3149475ead0cb6a616b8a028c5888", "rev": "63c3b4ed1712a3a0621002cd59bfdc80875ecbb0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -632,23 +709,23 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1733096140, "lastModified": 1735774519,
"narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=", "narHash": "sha256-CewEm1o2eVAnoqb6Ml+Qi9Gg/EfNAxbRx1lANGVyoLI=",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1734649271, "lastModified": 1736798957,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", "narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", "rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -731,11 +808,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1734546875, "lastModified": 1736808430,
"narHash": "sha256-6OvJbqQ6qPpNw3CA+W8Myo5aaLhIJY/nNFDk3zMXLfM=", "narHash": "sha256-wlgdf/n7bJMLBheqt1jmPoxJFrUP6FByKQFXuM9YvIk=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "ed091321f4dd88afc28b5b4456e0a15bd8374b4d", "rev": "553c7cb22fed19fd60eb310423fdc93045c51ba8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -750,8 +827,10 @@
"base16-fish": "base16-fish", "base16-fish": "base16-fish",
"base16-helix": "base16-helix", "base16-helix": "base16-helix",
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"git-hooks": "git-hooks",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixpkgs": [ "nixpkgs": [
@ -760,14 +839,15 @@
"systems": "systems_3", "systems": "systems_3",
"tinted-foot": "tinted-foot", "tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty", "tinted-kitty": "tinted-kitty",
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux",
"tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1734885904, "lastModified": 1736882096,
"narHash": "sha256-NxA4JnLuXyle2/nUKDbW8vORwSd+Z20limIl7DhlZbs=", "narHash": "sha256-TQFkQ6RN8L/Xto5Ttt6hwJInFI5Nz2uCfXg5ci2q6UA=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "4d87b96ceca38532f39c1b7efd8a9235bfcee3d6", "rev": "965d1cb7c84170200b4f05e68ebd27a88d171e8c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -901,6 +981,22 @@
"repo": "tinted-tmux", "repo": "tinted-tmux",
"type": "github" "type": "github"
} }
},
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1725758778,
"narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "122c9e5c0e6f27211361a04fae92df97940eccf9",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-zed",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -38,8 +38,8 @@
flake = false; flake = false;
}; };
ceserver = { ceserver = {
url = "git+file:./customPackages/ceserver"; url = "github:sadan4/ceserver";
flake = false; inputs.nixpkgs.follows = "nixpkgs";
}; };
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
nix-alien.url = "https://flakehub.com/f/thiagokokada/nix-alien/0.1.384.tar.gz"; nix-alien.url = "https://flakehub.com/f/thiagokokada/nix-alien/0.1.384.tar.gz";