Evie Litherland-Smith
5ff572a9b7
Move home/ directory under system/ directory. Remove duplicated machine-specific config files, now handled as one per host (excluding hardware-configuration directory) Move as much configuration as possible out of flake.nix and into more appropriate files (e.g. system/default.nix) Add a desktop.nix and laptop.nix for system, both will import home/desktop.nix and home/laptop.nix respectively to reduce duplication in machine-specific config files Remove games and streaming directories, moved directly into Vanguard config file Remove home/personal.nix since it ended up being empty after changes Remove old sway config since I haven't been maintaining it and this refactor will definitely break it
89 lines
2.4 KiB
Nix
89 lines
2.4 KiB
Nix
{
|
|
description = "Evie's machine configurations";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [ "https://nix.xenia.me.uk" ];
|
|
extra-trusted-public-keys = [ "nix.xenia.me.uk:tlgwOaG5KMLjQUk2YaErS8mAG69ZCr3PaHXZYi+Y5eI=" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
nix-index-database = {
|
|
url = "github:nix-community/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
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 =
|
|
inputs@{ nixpkgs, ... }:
|
|
{
|
|
nixosConfigurations = {
|
|
## Server
|
|
Legion = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
username = "pixelifytica";
|
|
hostName = "Legion";
|
|
loginShell = "bash";
|
|
};
|
|
modules = [ ./system/default.nix ];
|
|
};
|
|
## Personal
|
|
Vanguard = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
username = "pixelifytica";
|
|
hostName = "Vanguard";
|
|
loginShell = "bash";
|
|
};
|
|
modules = [ ./system/default.nix ];
|
|
};
|
|
Northstar = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
username = "pixelifytica";
|
|
hostName = "Northstar";
|
|
loginShell = "bash";
|
|
};
|
|
modules = [ ./system/default.nix ];
|
|
};
|
|
## Work
|
|
Tone = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
username = "elitherl";
|
|
hostName = "Tone";
|
|
loginShell = "bash";
|
|
};
|
|
modules = [ ./system/default.nix ];
|
|
};
|
|
Ronin = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
username = "elitherl";
|
|
hostName = "Ronin";
|
|
loginShell = "bash";
|
|
};
|
|
modules = [ ./system/default.nix ];
|
|
};
|
|
};
|
|
};
|
|
}
|