Initial Commit
This commit is contained in:
commit
c2e9b1d236
21 changed files with 698 additions and 0 deletions
13
home/willifan/default.nix
Normal file
13
home/willifan/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.bash.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
imports = [
|
||||
./graphical
|
||||
./git.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
}
|
||||
|
12
home/willifan/git.nix
Normal file
12
home/willifan/git.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
userName = "willifan";
|
||||
userEmail = "willifan@proton.me";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
12
home/willifan/graphical/default.nix
Normal file
12
home/willifan/graphical/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./dev
|
||||
# ./hyprland
|
||||
./theme
|
||||
];
|
||||
|
||||
}
|
||||
|
8
home/willifan/graphical/dev/default.nix
Normal file
8
home/willifan/graphical/dev/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./vscodium.nix
|
||||
];
|
||||
}
|
||||
|
52
home/willifan/graphical/dev/vscodium.nix
Normal file
52
home/willifan/graphical/dev/vscodium.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
# System
|
||||
bbenoist.nix
|
||||
#fireblast.hyprlang-vscode
|
||||
#eww-yuck.yuck
|
||||
|
||||
#Rust
|
||||
rust-lang.rust-analyzer
|
||||
serayuzgur.crates
|
||||
bungcip.better-toml
|
||||
vadimcn.vscode-lldb
|
||||
usernamehw.errorlens
|
||||
|
||||
#C/C++
|
||||
ms-vscode.cpptools
|
||||
twxs.cmake
|
||||
ms-vscode.cmake-tools
|
||||
|
||||
#Shell
|
||||
timonwong.shellcheck
|
||||
mads-hartmann.bash-ide-vscode
|
||||
|
||||
#Git
|
||||
#phil294.git-log--graph
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "hyprlang-vscode";
|
||||
publisher = "fireblast";
|
||||
version = "0.0.1";
|
||||
sha256 = "lSMihMIue0qu9+97EgT5dqjbzsey0TLZDpJby+Piip4=";
|
||||
}
|
||||
{
|
||||
name = "yuck";
|
||||
publisher = "eww-yuck";
|
||||
version = "0.0.3";
|
||||
sha256 = "DITgLedaO0Ifrttu+ZXkiaVA7Ua5RXc4jXQHPYLqrcM=";
|
||||
}
|
||||
{
|
||||
name = "git-log--graph";
|
||||
publisher = "phil294";
|
||||
version = "0.1.15";
|
||||
sha256 = "lvjDkvXSX7rw7HyyK3WWQLnGezvL6FPEgtjIi8KWkU0=";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
0
home/willifan/graphical/firefox.nix
Normal file
0
home/willifan/graphical/firefox.nix
Normal file
8
home/willifan/graphical/hyprland/default.nix
Normal file
8
home/willifan/graphical/hyprland/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./kanshi.nix
|
||||
];
|
||||
}
|
0
home/willifan/graphical/hyprland/hypridle.nix
Normal file
0
home/willifan/graphical/hyprland/hypridle.nix
Normal file
0
home/willifan/graphical/hyprland/hyprland.nix
Normal file
0
home/willifan/graphical/hyprland/hyprland.nix
Normal file
17
home/willifan/graphical/hyprland/kanshi.nix
Normal file
17
home/willifan/graphical/hyprland/kanshi.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
|
||||
{
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
|
||||
profile = {
|
||||
default = {
|
||||
outputs = [
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
systemdTarget = "hyprland-session.target";
|
||||
};
|
||||
}
|
0
home/willifan/graphical/kitty.nix
Normal file
0
home/willifan/graphical/kitty.nix
Normal file
8
home/willifan/graphical/theme/default.nix
Normal file
8
home/willifan/graphical/theme/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./gtk.nix
|
||||
#./qt.nix
|
||||
];
|
||||
}
|
44
home/willifan/graphical/theme/gtk.nix
Normal file
44
home/willifan/graphical/theme/gtk.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "jetbrains-mono";
|
||||
package = pkgs.jetbrains-mono;
|
||||
};
|
||||
|
||||
theme = {
|
||||
name = "rose-pine";
|
||||
package = pkgs.rose-pine-gtk-theme;
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
|
||||
#TODO add ascendancy cursor pack
|
||||
#cursortTheme.name = "";
|
||||
#cursortTheme.package = ;
|
||||
|
||||
gtk3.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
gtk4 = {
|
||||
extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
extraCss = ''
|
||||
.sidebar-pane {
|
||||
background-color: rgb(42, 42, 42);
|
||||
}
|
||||
'';
|
||||
|
||||
};
|
||||
};
|
||||
}
|
0
home/willifan/graphical/theme/qt.nix
Normal file
0
home/willifan/graphical/theme/qt.nix
Normal file
0
home/willifan/graphical/thunderbird.nix
Normal file
0
home/willifan/graphical/thunderbird.nix
Normal file
0
home/willifan/ssh.nix
Normal file
0
home/willifan/ssh.nix
Normal file
0
home/willifan/zsh.nix
Normal file
0
home/willifan/zsh.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue