Initial Commit

This commit is contained in:
willifan 2024-05-11 15:53:20 +02:00
commit c2e9b1d236
21 changed files with 698 additions and 0 deletions

13
home/willifan/default.nix Normal file
View 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
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "willifan";
userEmail = "willifan@proton.me";
extraConfig = {
init.defaultBranch = "main";
};
};
}

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
imports = [
./dev
# ./hyprland
./theme
];
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
imports = [
./vscodium.nix
];
}

View 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=";
}
];
};
}

View file

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
imports = [
./hyprland.nix
./kanshi.nix
];
}

View file

@ -0,0 +1,17 @@
{
services.kanshi = {
enable = true;
profile = {
default = {
outputs = [
];
};
};
systemdTarget = "hyprland-session.target";
};
}

View file

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
imports = [
./gtk.nix
#./qt.nix
];
}

View 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);
}
'';
};
};
}

View file

View file

0
home/willifan/ssh.nix Normal file
View file

0
home/willifan/zsh.nix Normal file
View file