Bootstrap : Start with uppercase letter.
This commit is contained in:
parent
397d003dba
commit
c955373ca5
|
@ -1,12 +1,16 @@
|
|||
{ pkgs, ... }: {
|
||||
systemd.user.services.dotfiles = {
|
||||
description = "Install/update dotfiles in startup.";
|
||||
{ pkgs, self, ... }:
|
||||
let
|
||||
mkDotfilesUnit = {
|
||||
description = "Install/update dotfiles on startup.";
|
||||
wantedBy = [ "graphical-session-pre.target" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
cd ~
|
||||
${pkgs.curl}/bin/curl https://git.voronind.com/voronind/linux/raw/branch/main/.bootstrap.sh | ${pkgs.bash}/bin/bash || true
|
||||
test -d .git || { ${pkgs.curl}/bin/curl https://git.voronind.com/voronind/linux/raw/branch/main/.Bootstrap.sh | ${pkgs.bash}/bin/bash; }
|
||||
${pkgs.git}/bin/git pull
|
||||
'';
|
||||
};
|
||||
in {
|
||||
systemd.user.services.dotfiles = mkDotfilesUnit;
|
||||
systemd.services.dotfiles = mkDotfilesUnit;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
{ pkgs, ... }: {
|
||||
users.users.dasha = {
|
||||
hashedPassword = "$y$j9T$WGMPv/bRhGBUidcZLZ7CE/$raZhwFFdI/XvegVZVHLILJLMiBkOxSErc6gao/Cxt33"; # Use `mkpasswd`.
|
||||
uid = 1001;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ pkgs, specialArgs, ... }:
|
||||
|
||||
{
|
||||
{ pkgs, specialArgs, ... }: {
|
||||
users.users.voronind = {
|
||||
hashedPassword = specialArgs.const.hashedPassword;
|
||||
uid = 1000;
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
*
|
||||
|
||||
# Bootstrap.
|
||||
!/.bootstrap.sh
|
||||
!/.Bootstrap.sh
|
||||
|
||||
# Readme.
|
||||
!/.README.md
|
||||
|
|
Reference in a new issue