This commit is contained in:
Lilith 2025-02-27 03:15:17 +01:00
parent cb52890889
commit 82fba3048f
Signed by: lilith
GPG key ID: 8712A0F317C37175
19 changed files with 115 additions and 114 deletions

71
flake.lock generated
View file

@ -1,5 +1,45 @@
{ {
"nodes": { "nodes": {
"ags": {
"inputs": {
"astal": "astal",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1738087375,
"narHash": "sha256-GLyNtU9A2VN22jNRHZ2OXuFfTJLh8uEVVt+ftsKUX0c=",
"owner": "Aylur",
"repo": "ags",
"rev": "a6a7a0adb17740f4c34a59902701870d46fbb6a4",
"type": "github"
},
"original": {
"owner": "Aylur",
"repo": "ags",
"type": "github"
}
},
"astal": {
"inputs": {
"nixpkgs": [
"ags",
"nixpkgs"
]
},
"locked": {
"lastModified": 1737670815,
"narHash": "sha256-ZCxxshGN7XooabArcoGkYSNx5yVunqjKJi2aTv6cznI=",
"owner": "aylur",
"repo": "astal",
"rev": "127e9cdcbf173846a3c40ddc0abfbb038df48042",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "astal",
"type": "github"
}
},
"base16": { "base16": {
"inputs": { "inputs": {
"fromYaml": "fromYaml" "fromYaml": "fromYaml"
@ -235,16 +275,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1739834344, "lastModified": 1737469691,
"narHash": "sha256-PUAcU3YlKNFYrBBHkqshO4wRfMunzhMTEIH1dyhjTtk=", "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f0295845e58ada369322524631821b01c0db13a7", "rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixpkgs-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -265,12 +305,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1739834344,
"narHash": "sha256-PUAcU3YlKNFYrBBHkqshO4wRfMunzhMTEIH1dyhjTtk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f0295845e58ada369322524631821b01c0db13a7",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"ags": "ags",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix" "stylix": "stylix"

View file

@ -27,6 +27,8 @@
home-manager.follows = "home-manager"; home-manager.follows = "home-manager";
}; };
}; };
ags.url = "github:Aylur/ags";
}; };
outputs = { outputs = {

View file

@ -1,7 +1,7 @@
{ {
pkgs, ags, ... pkgs, ...
}: { }: {
imports = [ ags.homeManagerModules.default ]; # imports = [ ags.homeManagerModules.default ];
home.packages = with pkgs; [ home.packages = with pkgs; [
gtksourceview gtksourceview

View file

@ -1,4 +1,4 @@
{ {...}: {
home.sessionPath = ["$HOME/.local/bin" "$HOME/.cargo/bin"]; home.sessionPath = ["$HOME/.local/bin" "$HOME/.cargo/bin"];
home.sessionVariables = { home.sessionVariables = {

View file

@ -1,15 +1,16 @@
{ home-manager, ... }: { { home-manager, ags, sops-nix, ... } @ inputs: {
imports = [ imports = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
]; ];
home-manager.users."lilith" = { home-manager.users."lilith" = {
imports = [ imports = [
ags.homeManagerModules.default
sops-nix.homeManagerModules.sops
./ags # ToDo: get codin :3 ./ags # ToDo: get codin :3
./hyprland ./hyprland
./rofi.nix ./rofi.nix
./dunst.nix ./dunst.nix
./stylix.nix
./env.nix ./env.nix
@ -19,7 +20,6 @@
./direnv.nix ./direnv.nix
./firefox.nix ./firefox.nix
./fzf.nix ./fzf.nix
./games
./git.nix ./git.nix
./gpg.nix ./gpg.nix
./helix.nix ./helix.nix
@ -33,4 +33,6 @@
home.username = "lilith"; home.username = "lilith";
home.stateVersion = "24.11"; home.stateVersion = "24.11";
}; };
home-manager.extraSpecialArgs = { inherit inputs; };
} }

View file

@ -1,6 +1,6 @@
{conf, config, pkgs, ...}: { { config, pkgs, ...}: {
home = { home = {
file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/${conf.user}/sync/inbox"; file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/lilith/sync/inbox";
shellAliases = { shellAliases = {
cat = "bat -p"; cat = "bat -p";

View file

@ -1,5 +1,5 @@
{ pkgs, arkenfox, ...}: { { pkgs, ...}: {
imports = [arkenfox.hmModules.arkenfox]; # imports = [arkenfox.hmModules.arkenfox];
programs.firefox = { programs.firefox = {
enable = true; enable = true;
@ -85,38 +85,29 @@
}; };
}; };
arkenfox.enable = true; # arkenfox.enable = true;
arkenfox.version = "master"; # arkenfox.version = "master";
profiles.Default.arkenfox = { # profiles.Default.arkenfox = {
enable = true; # enable = true;
"0000".enable = true; # "0000".enable = true;
"0100".enable = true; # "0100".enable = true;
"0200".enable = true; # "0200".enable = true;
"0300".enable = true; # "0300".enable = true;
"0400".enable = true; # "0400".enable = true;
"0600".enable = true; # "0600".enable = true;
"0700".enable = true; # "0700".enable = true;
"0800".enable = true; # "0800".enable = true;
"0900".enable = true; # "0900".enable = true;
"1000".enable = true; # "1000".enable = true;
"1200".enable = true; # "1200".enable = true;
"1600".enable = true; # "1600".enable = true;
"1700".enable = true; # "1700".enable = true;
"2000".enable = true; # "2000".enable = true;
"2400".enable = true; # "2400".enable = true;
"2600".enable = true; # "2600".enable = true;
"2700".enable = true; # "2700".enable = true;
"2800".enable = true; # "2800".enable = true;
}; # };
profiles.ChatGPT = {
name = "ChatGPT";
id = 1;
userChrome = ''
#TabsToolbar { visibility: collapse !important; }
#nav-bar { visibility: collapse !important; }
'';
};
}; };
} }

View file

@ -1,26 +0,0 @@
{ pkgs }:
let
appimage = pkgs.appimageTools.wrapType2 {
pname = "awakened-poe-trade";
version = "3.24.10004";
src = pkgs.fetchurl {
url = "https://github.com/SnosMe/awakened-poe-trade/releases/download/v3.24.10004/Awakened-PoE-Trade-3.24.10004.AppImage";
hash = "sha256-0FSePkDZYCU32EUpyymuSIGcRXUomIOrd38QPMaFV4E=";
};
meta = {
homepage = "https://github.com/SnosMe/awakened-poe-trade";
description = "💲 🔨 Path of Exile trading app for price checking";
platforms = pkgs.lib.platforms.linux;
};
};
desktopItem = pkgs.makeDesktopItem {
name = "AwakenedPoETrade";
exec = appimage.name;
icon = "${appimage}/awakened-poe-trade.png";
desktopName = "Awakened PoE Trade";
comment = appimage.meta.description;
};
in
{
inherit appimage desktopItem;
}

View file

@ -1,8 +0,0 @@
{ pkgs, ...}: let
awakened-poe-trade = pkgs.callPackage ./awakened-poe-trade.nix;
in {
home.packages = [
awakened-poe-trade.app
awakened-poe-trade.desktop
];
}

View file

@ -1,6 +0,0 @@
{ lib, system-config, ...}: {
imports = [
] ++ lib.optionals system-config.gaming.enable [
# ./awakened-poe-trading
];
}

View file

@ -1,11 +1,9 @@
{ {
pkgs, pkgs,
helix,
... ...
}: { }: {
programs.helix = { programs.helix = {
enable = true; enable = true;
package = helix.packages.${pkgs.system}.default;
settings = { settings = {
editor = { editor = {
line-number = "relative"; line-number = "relative";

View file

@ -1,4 +1,4 @@
{ system-config, lib, ...}: { { lib, ...}: {
imports = [ imports = [
./hyprpaper.nix ./hyprpaper.nix
./hyprlock.nix ./hyprlock.nix
@ -176,6 +176,6 @@
}; };
}; };
in { in {
hyprland = lib.recursiveUpdate hyprDefaults system-config.hyprlandOverrides; hyprland = hyprDefaults;
}; };
} }

View file

@ -1,8 +1,8 @@
{ config, ...}:{ { config, lib, ...}:{
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
settings = { settings = lib.mkForce {
general = { general = {
disable_loading_bar = true; disable_loading_bar = true;
ignore_empty_input = true; ignore_empty_input = true;

View file

@ -1,7 +1,7 @@
{ conf, ... }: { ... }:
{ {
home.file.".config/hypr/wallpaper.png" = { home.file.".config/hypr/wallpaper.png" = {
source = ../../wallpapers/${conf.wallpaper}; source = ../../wallpapers/default.png;
}; };
services.hyprpaper = let services.hyprpaper = let

View file

@ -1,5 +1,4 @@
{ {
system-config,
pkgs, pkgs,
lib, lib,
... ...
@ -19,7 +18,7 @@
xdg-utils xdg-utils
hyprshot hyprshot
obsidian # obsidian
vlc vlc
obs-studio obs-studio
keepassxc keepassxc
@ -31,7 +30,7 @@
htop htop
ollama ollama
zoom-us # zoom-us
]; ];
gaming = with pkgs; [ gaming = with pkgs; [
@ -40,5 +39,5 @@
steamtinkerlaunch steamtinkerlaunch
]; ];
in in
common ++ (lib.optionals system-config.gaming.enable gaming); common; # ++ (lib.optionals system-config.gaming.enable gaming);
} }

View file

@ -1,11 +1,11 @@
{pkgs, config, stylix,...}: { {pkgs, config, stylix, lib, ...}: {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
theme = let theme = let
inherit (config.lib.formats.rasi) mkLiteral; inherit (config.lib.formats.rasi) mkLiteral;
in { in lib.mkForce {
"*" = with config.lib.stylix.colors; { "*" = with config.lib.stylix.colors; {
bg0 = mkLiteral "#${base00}"; bg0 = mkLiteral "#${base00}";
bg1 = mkLiteral "#${base01}"; bg1 = mkLiteral "#${base01}";

View file

@ -1,10 +1,7 @@
{ {
conf,
sops-nix,
... ...
}: { }: {
imports = [sops-nix.homeManagerModules.sops];
sops = { sops = {
age.keyFile = /persist/data${conf.home}/.config/sops/age/keys.txt; age.keyFile = /persist/data/home/lilith/.config/sops/age/keys.txt;
}; };
} }

View file

@ -1,5 +0,0 @@
{stylix, pkgs, ...}: {
stylix.targets.rofi.enable = false;
home.file.".icons/default".source = "${pkgs.papirus-icon-theme}/share/icons/Papirus";
}

View file

@ -1,10 +1,10 @@
{conf,...}:{ {...}:{
programs.thunderbird = { programs.thunderbird = {
enable = true; enable = true;
settings = { settings = {
}; };
profiles.${conf.user} = { profiles."lilith" = {
isDefault = true; isDefault = true;
}; };
}; };