feat(accounts): add emails workflow settings
This commit is contained in:
parent
e4dcb39fc5
commit
4ba9224348
7 changed files with 402 additions and 15 deletions
23
flake.nix
23
flake.nix
|
@ -15,20 +15,23 @@
|
|||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-private = {
|
||||
url = "git+ssh://git@git.epha.se:24422/ephase/nix-private.git?shallow=1&ref=main";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, nur, nixgl, sops-nix, ... }@inputs:
|
||||
let
|
||||
let
|
||||
stateVersion = "23.11";
|
||||
|
||||
|
||||
allSystems = [
|
||||
"x86_64-linux" # 64bit AMD/Intel x86
|
||||
"aarch64-linux" # 64bit ARM Linux
|
||||
];
|
||||
|
||||
|
||||
forAllSystems = fn:
|
||||
nixpkgs.lib.genAttrs allSystems
|
||||
(system: fn { pkgs = import nixpkgs { inherit system; }; });
|
||||
|
||||
|
||||
createNixosSystem = { system, hostname, username ? "ephase" }: nixpkgs.lib.nixosSystem {
|
||||
system = system;
|
||||
specialArgs = {
|
||||
|
@ -40,7 +43,7 @@
|
|||
./nixos/default.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
createHomeConfiguration = { system ? "x86_64-linux", hostname, username ? "ephase" }:
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {
|
||||
|
@ -79,13 +82,13 @@
|
|||
luci = createNixosSystem { system = "x86_64-linux"; hostname = "luci"; };
|
||||
};
|
||||
homeConfigurations = {
|
||||
"rick" = createHomeConfiguration { system = "aarch64-linux"; hostname = "rick";};
|
||||
"luci" = createHomeConfiguration { system = "x86_64-linux"; hostname = "luci";};
|
||||
"morty" = createHomeConfiguration { system = "x86_64-linux"; hostname = "morty";};
|
||||
"mrmeeseeks" = createHomeConfiguration { system = "x86_64-linux"; hostname = "mrmeeseeks";};
|
||||
"rick" = createHomeConfiguration { system = "aarch64-linux"; hostname = "rick";};
|
||||
"luci" = createHomeConfiguration { system = "x86_64-linux"; hostname = "luci";};
|
||||
"morty" = createHomeConfiguration { system = "x86_64-linux"; hostname = "morty";};
|
||||
"mrmeeseeks" = createHomeConfiguration { system = "x86_64-linux"; hostname = "mrmeeseeks";};
|
||||
"work" = createHomeConfiguration {
|
||||
system = "x86_64-linux";
|
||||
hostname = "work";
|
||||
hostname = "work";
|
||||
username = "yorick-barbanneau";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue