This commit is contained in:
Lucy von Overheidt 2025-09-09 23:49:00 +02:00
parent 7dd32c7a17
commit 1a4ef774e4
13 changed files with 26 additions and 140 deletions

View file

@ -2,9 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config { pkgs
, lib
, pkgs
, ... , ...
}: }:

65
flake.lock generated
View file

@ -167,28 +167,6 @@
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.1/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.1/x86_64-linux"
} }
}, },
"firefox-addons": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1757410664,
"narHash": "sha256-MVjY6naARVAOIcNCDPUeNqqw1ttIuaDxBhE5c+i21nI=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "59d32d171d43bbe5ba9f3cb4723066f91595786f",
"type": "gitlab"
},
"original": {
"dir": "pkgs/firefox-addons",
"owner": "rycee",
"repo": "nur-expressions",
"type": "gitlab"
}
},
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -455,26 +433,6 @@
"url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A" "url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A"
} }
}, },
"nix-index-db": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1757218147,
"narHash": "sha256-IwOwN70HvoBNB2ckaROxcaCvj5NudNc52taPsv5wtLk=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "9b144dc3ef6e42b888c4190e02746aab13b0e97f",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nix-mineral": { "nix-mineral": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -694,40 +652,17 @@
"type": "github" "type": "github"
} }
}, },
"quickshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1756981260,
"narHash": "sha256-GhuD9QVimjynHI0OOyZsqJsnlXr2orowh9H+HYz4YMs=",
"ref": "refs/heads/master",
"rev": "6eb12551baf924f8fdecdd04113863a754259c34",
"revCount": 672,
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
}
},
"root": { "root": {
"inputs": { "inputs": {
"c3d2-user-module": "c3d2-user-module", "c3d2-user-module": "c3d2-user-module",
"comin": "comin", "comin": "comin",
"determinate": "determinate", "determinate": "determinate",
"firefox-addons": "firefox-addons",
"home-manager": "home-manager", "home-manager": "home-manager",
"musnix": "musnix", "musnix": "musnix",
"niri": "niri", "niri": "niri",
"nix-index-db": "nix-index-db",
"nix-mineral": "nix-mineral", "nix-mineral": "nix-mineral",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_6",
"quickshell": "quickshell",
"stylix": "stylix", "stylix": "stylix",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
} }

View file

@ -15,14 +15,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
nix-index-db = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
quickshell = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
comin = { comin = {
url = "github:nlewo/comin"; url = "github:nlewo/comin";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -31,10 +23,6 @@
url = "github:nix-community/stylix"; url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
musnix.url = "github:musnix/musnix"; musnix.url = "github:musnix/musnix";
nix-mineral = { nix-mineral = {
url = "github:cynicsketch/nix-mineral"; url = "github:cynicsketch/nix-mineral";
@ -43,22 +31,19 @@
}; };
outputs = outputs =
inputs@{ inputs@{ self
self, , nixpkgs
nixpkgs, , c3d2-user-module
c3d2-user-module, , home-manager
home-manager, , niri
niri, , nixos-hardware
nixos-hardware, , treefmt-nix
treefmt-nix, , determinate
determinate, , stylix
nix-index-db, , comin
quickshell, , musnix
stylix, , nix-mineral
comin, ,
firefox-addons,
musnix,
nix-mineral,
}: }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
@ -187,12 +172,9 @@
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.lucy = home-manager.users.lucy =
{ { pkgs
config, , inputs
pkgs, , ...
lib,
inputs,
...
}: }:
{ {
imports = [ imports = [

View file

@ -1,6 +1,4 @@
{ ... }: { ... }:
let
in
{ {
programs.firefox = { programs.firefox = {
policies.ExtensionSettings = { policies.ExtensionSettings = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { ... }:
{ {
programs.firefox = { programs.firefox = {

View file

@ -1,15 +1,4 @@
{ pkgs, ... }: { pkgs, ... }:
let
# Fetch the JSON file and read its content
fontsJson = builtins.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/nixos-unstable/pkgs/data/fonts/nerd-fonts/manifests/fonts.json";
sha256 = "1kdmk4ayckixxckxbik9jg4fdqqgm7s5x1lvzd95v1g09bhn33wg";
};
# Parse the JSON and extract package names
fonts = builtins.fromJSON (builtins.readFile fontsJson);
packageNames = map (font: font.package) fonts;
in
{ {
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
iosevka iosevka

View file

@ -1,6 +1,5 @@
{ config { config
, pkgs , pkgs
, inputs
, ... , ...
}: }:
{ {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
programs.hyfetch = { programs.hyfetch = {
enable = true; enable = true;

View file

@ -10,7 +10,6 @@ let
close-window close-window
maximize-column maximize-column
screenshot-window screenshot-window
screenshot
focus-column-left focus-column-left
focus-column-right focus-column-right
focus-workspace-up focus-workspace-up

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { ... }:
{ {
imports = [ imports = [
./settings.nix ./settings.nix

View file

@ -1,9 +1,7 @@
{ { lib
config, , pkgs
lib, , inputs
pkgs, , ...
inputs,
...
}: }:
let let
makeCommand = command: { makeCommand = command: {
@ -12,10 +10,6 @@ let
qs = "${pkgs.quickshell}/bin/qs"; qs = "${pkgs.quickshell}/bin/qs";
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste"; wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
wallpapers = inputs.self.packages.${pkgs.system}.wallpapers; wallpapers = inputs.self.packages.${pkgs.system}.wallpapers;
helloKittyCursor = pkgs.fetchzip {
url = "https://www.rw-designer.com/cursor-downloadset/hello-kitty.zip";
hash = "";
};
in in
{ {

View file

@ -1,7 +1,4 @@
{ config { ...
, pkgs
, lib
, ...
}: }:
let let

View file

@ -1,13 +1,8 @@
{ config { pkgs
, pkgs
, lib
, inputs , inputs
, ... , ...
}: }:
let
wallpapers = inputs.self.packages.${pkgs.system}.wallpapers;
in
{ {
programs.mpvpaper = { programs.mpvpaper = {
enable = true; enable = true;