nod: First attempt
This commit is contained in:
parent
ec1d120f12
commit
f94e741948
|
@ -521,11 +521,6 @@ in
|
|||
"${config.home.sessionVariables.GOPATH}"
|
||||
(builtins.toString ./scripts)
|
||||
];
|
||||
file = {
|
||||
".face" = { # TODO Doesn't show on NixOS. See https://wiki.archlinux.org/title/LightDM#Changing_your_avatar ?
|
||||
source = pkgs.runCommand "face.png" { } "${pkgs.inkscape}/bin/inkscape ${./face.svg} -w 1024 -o $out";
|
||||
};
|
||||
};
|
||||
# FIXME .config/home-manager/home.nix link. Using hostname?
|
||||
# TODO Way to automatically setup an home-manager install
|
||||
};
|
||||
}
|
||||
|
|
|
@ -650,6 +650,11 @@ in
|
|||
};
|
||||
|
||||
home = {
|
||||
file = {
|
||||
".face" = { # TODO Only works on pindakaas? See https://wiki.archlinux.org/title/LightDM#Changing_your_avatar
|
||||
source = pkgs.runCommand "face.png" { } "${pkgs.inkscape}/bin/inkscape ${./face.svg} -w 1024 -o $out";
|
||||
};
|
||||
};
|
||||
packages = with pkgs; [
|
||||
pavucontrol # Because can't use Win+F1X on Pinebook 🙃
|
||||
|
||||
|
|
22
nod/common/default.nix
Normal file
22
nod/common/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.motd = "";
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
config = {}: {
|
||||
imports = [ ../hm ];
|
||||
home.file = {
|
||||
".ssh/authorized_keys" = {
|
||||
# TODO Make an option and reuse at other places
|
||||
text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE41gxrO8oZ5n3saapSwZDViOQphm6RzqgsBUyA88pU geoffrey@frogeye.fr";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
system.stateVersion = "23.11";
|
||||
terminal.font = "${
|
||||
pkgs.nerdfonts.override {
|
||||
fonts = [ "DejaVuSansMono" ];
|
||||
}}/share/fonts/truetype/NerdFonts/DejaVuSansMNerdFont-Regular.ttf";
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
}
|
6
nod/default.nix
Normal file
6
nod/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common
|
||||
];
|
||||
}
|
6
sprinkles/nod.nix
Normal file
6
sprinkles/nod.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../nod
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue