Compare commits

..

8 commits

Author SHA1 Message Date
78117b3bb4
home/programs/ironbar: style swaync (add catppuccin macchiato) 2024-11-16 23:58:58 +01:00
8155033b48
home/programs/ironbar: add swaync 2024-11-16 23:00:45 +01:00
e4fcd210a2
flake: update inputs 2024-11-16 23:00:00 +01:00
51a1597bb5
system/programs/fonts: add intel one mono and nerd fonts symbols 2024-11-16 22:58:37 +01:00
022f7b55f8
flake: update inputs 2024-11-16 22:58:33 +01:00
73930f02ff
treewide: fix deploy issues
Using absolute path imports is apparently a horrible idea since that
just messes up the store, and will bring a lot of issues since that
copies it to the store separately.
2024-11-16 22:56:27 +01:00
040e849a9f
treewide: add Apple Color Emoji 2024-11-16 22:56:27 +01:00
5b99da7eff
treewide: add ironbar for niri 2024-11-16 22:55:59 +01:00
4 changed files with 166 additions and 86 deletions

View file

@ -4,7 +4,9 @@
"inputs": {
"darwin": "darwin",
"home-manager": "home-manager",
"nixpkgs": ["nixpkgs"],
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
},
"locked": {
@ -42,7 +44,10 @@
},
"astal": {
"inputs": {
"nixpkgs": ["ags", "nixpkgs"]
"nixpkgs": [
"ags",
"nixpkgs"
]
},
"locked": {
"lastModified": 1731533099,
@ -95,7 +100,10 @@
},
"crane_2": {
"inputs": {
"nixpkgs": ["lanzaboote", "nixpkgs"]
"nixpkgs": [
"lanzaboote",
"nixpkgs"
]
},
"locked": {
"lastModified": 1717535930,
@ -113,7 +121,10 @@
},
"darwin": {
"inputs": {
"nixpkgs": ["agenix", "nixpkgs"]
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1700795494,
@ -153,7 +164,9 @@
"firefox-addons": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": ["nixpkgs"]
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"dir": "pkgs/firefox-addons",
@ -239,7 +252,10 @@
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": ["lanzaboote", "nixpkgs"]
"nixpkgs-lib": [
"lanzaboote",
"nixpkgs"
]
},
"locked": {
"lastModified": 1717285511,
@ -361,7 +377,11 @@
},
"gitignore": {
"inputs": {
"nixpkgs": ["lanzaboote", "pre-commit-hooks-nix", "nixpkgs"]
"nixpkgs": [
"lanzaboote",
"pre-commit-hooks-nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
@ -396,7 +416,10 @@
},
"home-manager": {
"inputs": {
"nixpkgs": ["agenix", "nixpkgs"]
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1703113217,
@ -414,7 +437,9 @@
},
"home-manager_2": {
"inputs": {
"nixpkgs": ["nixpkgs"]
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1731786860,
@ -434,7 +459,7 @@
"inputs": {
"crane": "crane",
"naersk": "naersk",
"nixpkgs": ["nixpkgs"],
"nixpkgs": "nixpkgs_5",
"rust-overlay": "rust-overlay"
},
"locked": {
@ -457,7 +482,9 @@
"flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_2",
"flake-utils": "flake-utils_2",
"nixpkgs": ["nixpkgs"],
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
"rust-overlay": "rust-overlay_2"
},
@ -528,7 +555,11 @@
},
"naersk_2": {
"inputs": {
"nixpkgs": ["nvf", "rnix-lsp", "nixpkgs"]
"nixpkgs": [
"nvf",
"rnix-lsp",
"nixpkgs"
]
},
"locked": {
"lastModified": 1655042882,
@ -546,8 +577,14 @@
},
"nil": {
"inputs": {
"flake-utils": ["nvf", "flake-utils"],
"nixpkgs": ["nvf", "nixpkgs"],
"flake-utils": [
"nvf",
"flake-utils"
],
"nixpkgs": [
"nvf",
"nixpkgs"
],
"rust-overlay": "rust-overlay_3"
},
"locked": {
@ -568,7 +605,7 @@
"inputs": {
"niri-stable": "niri-stable",
"niri-unstable": "niri-unstable",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"nixpkgs-stable": "nixpkgs-stable_2",
"xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
@ -622,7 +659,9 @@
},
"nix-index-db": {
"inputs": {
"nixpkgs": ["nixpkgs"]
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1731593150,
@ -640,11 +679,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1731797098,
"narHash": "sha256-UhWmEZhwJZmVZ1jfHZFzCg+ZLO9Tb/v3Y6LC0UNyeTo=",
"lastModified": 1731740897,
"narHash": "sha256-teFd31vsE/0Z0WR6XVeKhKPw6Eyb2gXGpG0tjpMfBDM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "672ac2ac86f7dff2f6f3406405bddecf960e0db6",
"rev": "c2c275fbb2e656948ba6e1f67b8ddd430f158c5f",
"type": "github"
},
"original": {
@ -726,6 +765,22 @@
}
},
"nixpkgs_10": {
"locked": {
"lastModified": 1731531548,
"narHash": "sha256-sz8/v17enkYmfpgeeuyzniGJU0QQBfmAjlemAUYhfy8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "24f0d4acd634792badd6470134c387a3b039dace",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": {
"lastModified": 1726871744,
"narHash": "sha256-V5LpfdHyQkUF7RfOaDPrZDP+oqz88lTJrMT1+stXNwo=",
@ -791,7 +846,7 @@
"locked": {
"lastModified": 1731676054,
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
"owner": "NixOS",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
"type": "github"
@ -814,16 +869,16 @@
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1726871744,
"narHash": "sha256-V5LpfdHyQkUF7RfOaDPrZDP+oqz88lTJrMT1+stXNwo=",
"owner": "nixos",
"lastModified": 1731676054,
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
"type": "github"
@ -836,6 +891,22 @@
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1731676054,
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1656753965,
"narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=",
@ -851,22 +922,6 @@
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1731531548,
"narHash": "sha256-sz8/v17enkYmfpgeeuyzniGJU0QQBfmAjlemAUYhfy8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "24f0d4acd634792badd6470134c387a3b039dace",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nmd": {
"flake": false,
"locked": {
@ -889,7 +944,7 @@
"flake-utils": "flake-utils_3",
"mnw": "mnw",
"nil": "nil",
"nixpkgs": "nixpkgs_7",
"nixpkgs": "nixpkgs_8",
"nmd": "nmd",
"plugin-alpha-nvim": "plugin-alpha-nvim",
"plugin-bufdelete-nvim": "plugin-bufdelete-nvim",
@ -1012,8 +1067,12 @@
},
"plasma-manager": {
"inputs": {
"home-manager": ["home-manager"],
"nixpkgs": ["nixpkgs"]
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1731193165,
@ -2664,7 +2723,7 @@
},
"portfolio": {
"inputs": {
"nixpkgs": "nixpkgs_9",
"nixpkgs": "nixpkgs_10",
"sam-zola": "sam-zola"
},
"locked": {
@ -2683,9 +2742,15 @@
},
"pre-commit-hooks-nix": {
"inputs": {
"flake-compat": ["lanzaboote", "flake-compat"],
"flake-compat": [
"lanzaboote",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": ["lanzaboote", "nixpkgs"],
"nixpkgs": [
"lanzaboote",
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
@ -2705,7 +2770,7 @@
"rnix-lsp": {
"inputs": {
"naersk": "naersk_2",
"nixpkgs": "nixpkgs_8",
"nixpkgs": "nixpkgs_9",
"utils": "utils_2"
},
"locked": {
@ -2735,7 +2800,7 @@
"niri": "niri",
"nix-index-db": "nix-index-db",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_6",
"nixpkgs": "nixpkgs_7",
"nvf": "nvf",
"plasma-manager": "plasma-manager",
"portfolio": "portfolio",
@ -2746,7 +2811,10 @@
},
"rust-overlay": {
"inputs": {
"nixpkgs": ["ironbar", "nixpkgs"]
"nixpkgs": [
"ironbar",
"nixpkgs"
]
},
"locked": {
"lastModified": 1730341826,
@ -2764,8 +2832,14 @@
},
"rust-overlay_2": {
"inputs": {
"flake-utils": ["lanzaboote", "flake-utils"],
"nixpkgs": ["lanzaboote", "nixpkgs"]
"flake-utils": [
"lanzaboote",
"flake-utils"
],
"nixpkgs": [
"lanzaboote",
"nixpkgs"
]
},
"locked": {
"lastModified": 1717813066,
@ -2783,8 +2857,16 @@
},
"rust-overlay_3": {
"inputs": {
"flake-utils": ["nvf", "nil", "flake-utils"],
"nixpkgs": ["nvf", "nil", "nixpkgs"]
"flake-utils": [
"nvf",
"nil",
"flake-utils"
],
"nixpkgs": [
"nvf",
"nil",
"nixpkgs"
]
},
"locked": {
"lastModified": 1714529851,
@ -2802,7 +2884,10 @@
},
"rust-overlay_4": {
"inputs": {
"nixpkgs": ["wezterm", "nixpkgs"]
"nixpkgs": [
"wezterm",
"nixpkgs"
]
},
"locked": {
"lastModified": 1729477859,
@ -2941,7 +3026,7 @@
},
"treefmt-nix": {
"inputs": {
"nixpkgs": "nixpkgs_10"
"nixpkgs": "nixpkgs_11"
},
"locked": {
"lastModified": 1730321837,
@ -2996,7 +3081,9 @@
"freetype2": "freetype2",
"harfbuzz": "harfbuzz",
"libpng": "libpng",
"nixpkgs": ["nixpkgs"],
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay_4",
"zlib": "zlib"
},

View file

@ -13,7 +13,6 @@
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
treefmtEval = eachSystem (pkgs: treefmt-nix.lib.evalModule pkgs ./treefmt.nix);
in {
imports = [./modules];
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
packages = [
@ -35,7 +34,7 @@
};
inputs = {
# nix related
nixpkgs.url = "github:NixOS/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c"; # TODO: remove when 24.11 is out
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default-linux";
nixos-hardware.url = "github:NixOS/nixos-hardware";
lanzaboote = {
@ -59,10 +58,7 @@
ags.url = "github:Aylur/ags";
basix.url = "github:notashelf/basix";
deploy-rs.url = "github:serokell/deploy-rs";
ironbar = {
url = "github:JakeStanger/ironbar";
inputs.nixpkgs.follows = "nixpkgs";
};
ironbar.url = "github:JakeStanger/ironbar";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -6,7 +6,7 @@
osConfig,
...
}: let
inherit (inputs.basix.schemeData.base16.${osConfig.theme.scheme}) palette;
colors = inputs.basix.schemeData.base16.${osConfig.theme.scheme}.palette;
inherit (lib) getExe mkIf;
in {
imports = [./binds.nix];
@ -37,7 +37,7 @@ in {
layout = {
focus-ring = {
enable = true;
active.color = palette.base0E;
active.color = "#${colors.base0E}";
};
always-center-single-column = true;
};

View file

@ -14,31 +14,28 @@
shell = "${lib.getExe config.programs.fish.package}";
};
colors = let
inherit (lib) mapAttrs;
inherit (lib.strings) removePrefix;
# because someone thought this was a great idea: https://github.com/tinted-theming/schemes/commit/61058a8d2e2bd4482b53d57a68feb56cdb991f0b
palette = mapAttrs (_: color: removePrefix "#" color) inputs.basix.schemeData.base16.${osConfig.theme.scheme}.palette;
schemeData = inputs.basix.schemeData.base16.${osConfig.theme.scheme};
in {
background = palette.base00;
foreground = palette.base05;
background = schemeData.palette.base00;
foreground = schemeData.palette.base05;
regular0 = palette.base01;
regular1 = palette.base08;
regular2 = palette.base0B;
regular3 = palette.base0A;
regular4 = palette.base0D;
regular5 = palette.base0E;
regular6 = palette.base0C;
regular7 = palette.base06;
regular0 = schemeData.palette.base01;
regular1 = schemeData.palette.base08;
regular2 = schemeData.palette.base0B;
regular3 = schemeData.palette.base0A;
regular4 = schemeData.palette.base0D;
regular5 = schemeData.palette.base0E;
regular6 = schemeData.palette.base0C;
regular7 = schemeData.palette.base06;
bright0 = palette.base02;
bright1 = palette.base08;
bright2 = palette.base0B;
bright3 = palette.base0A;
bright4 = palette.base0D;
bright5 = palette.base0E;
bright6 = palette.base0C;
bright7 = palette.base07;
bright0 = schemeData.palette.base02;
bright1 = schemeData.palette.base08;
bright2 = schemeData.palette.base0B;
bright3 = schemeData.palette.base0A;
bright4 = schemeData.palette.base0D;
bright5 = schemeData.palette.base0E;
bright6 = schemeData.palette.base0C;
bright7 = schemeData.palette.base07;
};
};
};