2024-05-11 13:55:23 +01:00
|
|
|
{
|
2024-05-11 15:42:21 +01:00
|
|
|
description = "Evie's home-manager configurations";
|
2024-05-11 13:55:23 +01:00
|
|
|
|
|
|
|
nixConfig = {
|
|
|
|
extra-substituters = ["https://nix.xenia.me.uk"];
|
|
|
|
extra-trusted-public-keys = ["nix.xenia.me.uk:tlgwOaG5KMLjQUk2YaErS8mAG69ZCr3PaHXZYi+Y5eI="];
|
|
|
|
};
|
|
|
|
|
|
|
|
inputs = {
|
2024-06-01 07:16:06 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
2024-05-11 13:55:23 +01:00
|
|
|
home-manager = {
|
2024-06-01 07:16:06 +01:00
|
|
|
url = "github:nix-community/home-manager/release-24.05";
|
2024-05-11 13:55:23 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
plasma-manager = {
|
|
|
|
url = "github:pjones/plasma-manager";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
};
|
2024-05-11 13:55:23 +01:00
|
|
|
iosevka-custom.url = "git+https://git.xenia.me.uk/pixelifytica/iosevka.git";
|
|
|
|
base16.url = "github:SenchoPens/base16.nix";
|
|
|
|
tt-schemes = {
|
|
|
|
url = "github:tinted-theming/schemes";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
2024-05-15 08:38:45 +01:00
|
|
|
self,
|
2024-05-11 13:55:23 +01:00
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
2024-06-17 13:53:08 +01:00
|
|
|
plasma-manager,
|
2024-05-11 13:55:23 +01:00
|
|
|
iosevka-custom,
|
|
|
|
base16,
|
|
|
|
tt-schemes,
|
|
|
|
...
|
|
|
|
}: let
|
2024-05-11 17:05:42 +01:00
|
|
|
defaultExtraSpecialArgs = {
|
|
|
|
system ? "x86_64-linux",
|
|
|
|
hostname ? "Atlas",
|
|
|
|
...
|
2024-05-27 18:44:54 +01:00
|
|
|
}: rec {
|
2024-06-08 08:13:20 +01:00
|
|
|
inherit hostname;
|
2024-06-16 11:28:05 +01:00
|
|
|
accentColourName = "base0D";
|
|
|
|
altAccentColourName = "base0C";
|
2024-05-27 18:44:54 +01:00
|
|
|
iosevkaCustom = {
|
|
|
|
packages = iosevka-custom.outputs.packages.${system};
|
|
|
|
names = iosevka-custom.outputs.names;
|
|
|
|
};
|
|
|
|
fonts = with iosevkaCustom; rec {
|
|
|
|
sizes = {
|
|
|
|
applications = 12;
|
|
|
|
desktop = 10;
|
|
|
|
popups = 14;
|
|
|
|
terminal = 12;
|
2024-05-11 13:55:23 +01:00
|
|
|
};
|
2024-05-27 18:44:54 +01:00
|
|
|
serif = sansSerif;
|
|
|
|
sansSerif = {
|
|
|
|
name = names.iosevka-custom-aile;
|
|
|
|
package = packages.iosevka-custom-aile;
|
|
|
|
};
|
|
|
|
monospace = {
|
|
|
|
name = names.iosevka-custom-nerdfont;
|
|
|
|
package = packages.iosevka-custom-nerdfont;
|
2024-05-11 13:55:23 +01:00
|
|
|
};
|
|
|
|
};
|
2024-06-20 14:23:35 +01:00
|
|
|
bookmarks = builtins.fromJSON (builtins.readFile ./bookmarks.json);
|
2024-05-27 18:44:54 +01:00
|
|
|
};
|
2024-05-11 17:05:42 +01:00
|
|
|
defaultModules = {
|
|
|
|
username ? "pixelifytica",
|
|
|
|
hostname ? "Atlas",
|
|
|
|
...
|
|
|
|
}: [
|
2024-06-17 13:53:08 +01:00
|
|
|
plasma-manager.homeManagerModules.plasma-manager
|
2024-05-11 17:05:42 +01:00
|
|
|
base16.homeManagerModule
|
|
|
|
./home/${hostname}.nix
|
2024-06-04 14:55:20 +01:00
|
|
|
({lib, ...}: {
|
2024-05-11 17:05:42 +01:00
|
|
|
home = {inherit username;};
|
2024-06-08 07:17:19 +01:00
|
|
|
scheme = "${tt-schemes}/base16/one-light.yaml";
|
2024-05-11 17:05:42 +01:00
|
|
|
})
|
|
|
|
];
|
2024-05-11 13:55:23 +01:00
|
|
|
in {
|
2024-05-15 08:38:45 +01:00
|
|
|
packages.x86_64-linux = {inherit (home-manager.packages.x86_64-linux) default;};
|
2024-05-21 09:13:58 +01:00
|
|
|
apps.x86_64-linux.default = {
|
|
|
|
program = "${self.packages.x86_64-linux.default}/bin/home-manager";
|
|
|
|
type = "app";
|
|
|
|
};
|
2024-05-13 06:16:57 +01:00
|
|
|
devShells.x86_64-linux.default = let
|
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
in
|
|
|
|
pkgs.mkShellNoCC {
|
2024-05-24 12:16:37 +01:00
|
|
|
packages = [pkgs.nil];
|
2024-05-13 06:16:57 +01:00
|
|
|
};
|
2024-05-11 13:55:23 +01:00
|
|
|
homeConfigurations = {
|
2024-05-11 17:05:42 +01:00
|
|
|
# Server
|
|
|
|
"pixelifytica@Legion" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
modules = defaultModules {
|
|
|
|
username = "pixelifytica";
|
|
|
|
hostname = "Legion";
|
|
|
|
};
|
|
|
|
extraSpecialArgs = defaultExtraSpecialArgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "Legion";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# Personal
|
|
|
|
"pixelifytica@Northstar" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
modules = defaultModules {
|
|
|
|
username = "pixelifytica";
|
|
|
|
hostname = "Northstar";
|
|
|
|
};
|
|
|
|
extraSpecialArgs = defaultExtraSpecialArgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "Northstar";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"pixelifytica@Vanguard" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
modules = defaultModules {
|
|
|
|
username = "pixelifytica";
|
|
|
|
hostname = "Vanguard";
|
|
|
|
};
|
|
|
|
extraSpecialArgs = defaultExtraSpecialArgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "Vanguard";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# Work
|
2024-05-20 07:11:48 +01:00
|
|
|
"elitherl@Tone" = home-manager.lib.homeManagerConfiguration {
|
2024-05-11 17:05:42 +01:00
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
modules = defaultModules {
|
|
|
|
username = "elitherl";
|
2024-05-20 07:11:48 +01:00
|
|
|
hostname = "Tone";
|
2024-05-11 17:05:42 +01:00
|
|
|
};
|
|
|
|
extraSpecialArgs = defaultExtraSpecialArgs {
|
|
|
|
system = "x86_64-linux";
|
2024-05-20 07:11:48 +01:00
|
|
|
hostname = "Tone";
|
2024-05-11 17:05:42 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
"elitherl@Scorch" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
|
|
|
modules = defaultModules {
|
|
|
|
username = "elitherl";
|
|
|
|
hostname = "Scorch";
|
|
|
|
};
|
|
|
|
extraSpecialArgs = defaultExtraSpecialArgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "Scorch";
|
|
|
|
};
|
2024-05-11 13:55:23 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|