refactor: make username global variable
This commit is contained in:
parent
a5b3e2a175
commit
5d9230d64f
14 changed files with 25 additions and 79 deletions
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
programs.eww = {
|
||||
enable = true;
|
||||
configDir = ./eww;
|
||||
};
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
(defwindow lockscreen_background :monitor 0
|
||||
:geometry (geometry :width "100%"
|
||||
:height "100%"
|
||||
:anchor "center")
|
||||
:stacking "fg"
|
||||
(box))
|
||||
|
||||
(defwindow lockscreen_title :monitor 0
|
||||
:geometry (geometry :anchor "center")
|
||||
:stacking "fg"
|
||||
(greeting))
|
||||
|
||||
(defwidget greeting[]
|
||||
(box (label :markup '<span size="32pt">Hi, rafiq.</span>')))
|
||||
|
||||
(defwindow lockscreen_input :monitor 0
|
||||
:geometry (geometry :y "55%"
|
||||
:width "5%"
|
||||
:height "2.5%"
|
||||
:anchor "center top")
|
||||
:stacking "fg"
|
||||
:focusable "ondemand"
|
||||
(password_input))
|
||||
|
||||
(defwidget password_input[]
|
||||
(box
|
||||
(input :onaccept "${EWW_CMD} close-all"
|
||||
:password true
|
||||
:class "password_input"
|
||||
:css ".password_input {border-radius:50px;}")))
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
fonts = {
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts.emoji = ["Terminess Nerd Font"];
|
||||
defaultFonts.monospace = ["Terminess Nerd Font Mono"];
|
||||
defaultFonts.sansSerif = ["Terminess Nerd Font"];
|
||||
defaultFonts.serif = ["Terminess Nerd Font"];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,11 +1,12 @@
|
|||
{config, ...}: {
|
||||
{ config, ... }:
|
||||
{
|
||||
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Mohammad Rafiq";
|
||||
userEmail = "mohammadrafiq567@gmail.com";
|
||||
signing.key = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
|
||||
signing.key = "~/.ssh/id_ed25519.pub";
|
||||
signing.signByDefault = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "prime";
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue