mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-07-06 16:12:33 +02:00
Compare commits
5 Commits
48bb118da4
...
a5e4dcddac
| Author | SHA1 | Date | |
|---|---|---|---|
| a5e4dcddac | |||
| fd7c23055f | |||
| 4322ca33db | |||
| 9ebdaa1505 | |||
| 6a9752b74e |
@@ -9,6 +9,6 @@
|
||||
pipes
|
||||
cmatrix
|
||||
fastfetch
|
||||
inputs.usbguard-tui.packages.${system}.default
|
||||
inputs.usbguard-tui.packages.${pkgs-stable.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
}
|
||||
|
||||
@@ -49,6 +49,9 @@ in {
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
s = "superfile";
|
||||
spf = "superfile";
|
||||
|
||||
vim = "nvim";
|
||||
vi = "nvim";
|
||||
v = "nvim";
|
||||
|
||||
@@ -1,8 +1,35 @@
|
||||
{
|
||||
{config, ...}: {
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
setSessionVariables = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/Desktop";
|
||||
download = "${config.home.homeDirectory}/Downloads";
|
||||
pictures = "${config.home.homeDirectory}/Pictures";
|
||||
music = null;
|
||||
documents = null;
|
||||
videos = null;
|
||||
templates = null;
|
||||
publicShare = null;
|
||||
};
|
||||
|
||||
programs.superfile = {
|
||||
enable = true;
|
||||
firstUseCheck = false;
|
||||
pinnedFolders = [];
|
||||
pinnedFolders = [
|
||||
{
|
||||
name = "dev";
|
||||
location = "/home/hadrien/dev";
|
||||
}
|
||||
{
|
||||
name = "nixos";
|
||||
location = "/home/hadrien/.config/nixos";
|
||||
}
|
||||
{
|
||||
name = "trash";
|
||||
location = "/home/hadrien/.local/share/Trash/files";
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
transparent_background = true;
|
||||
ignore_missing_fields = true;
|
||||
|
||||
@@ -16,8 +16,8 @@ in {
|
||||
appearance = {
|
||||
transparency = {
|
||||
enabled = true;
|
||||
base = 0.85;
|
||||
layers = 0.4;
|
||||
base = config.theme.active-opacity;
|
||||
layers = config.theme.inactive-opacity;
|
||||
};
|
||||
font.family = {
|
||||
material = "Material Symbols Rounded";
|
||||
|
||||
@@ -46,6 +46,7 @@ in {
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
configType = "hyprlang";
|
||||
xwayland.enable = true;
|
||||
systemd = {
|
||||
enable = false;
|
||||
@@ -123,6 +124,8 @@ in {
|
||||
|
||||
windowrule = [
|
||||
"match:class .*, suppress_event maximize"
|
||||
"match:class helium, suppress_event fullscreen"
|
||||
"match:class helium, sync_fullscreen false"
|
||||
|
||||
"match:class proton-authenticator, float on"
|
||||
"match:class proton-authenticator, center on"
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
# Mostly system related configuration
|
||||
../../nixos/audio.nix
|
||||
@@ -35,6 +31,7 @@
|
||||
allow id 1d6b:0003 serial "0000:00:14.0" name "xHCI Host Controller" hash "prM+Jby/bFHCn2lNjQdAMbgc6tse3xVx+hZwjOPHSdQ=" parent-hash "rV9bfLq7c2eA4tYjVjwO4bxhm+y6GgZpl9J60L0fBkY=" with-interface 09:00:00 with-connect-type ""
|
||||
allow id 17ef:608d serial "" name "Lenovo USB Optical Mouse" hash "klpDZuv1jhWGNqZLOl+KXF+75Ir3PfBm6D6ncjoLRBU=" parent-hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" via-port "1-7" with-interface 03:01:02 with-connect-type "hotplug"
|
||||
allow id 17ef:6190 serial "" name "Lenovo Calliope USB Keyboard G2" hash "CfZ9R/aoXGm7BN/ojVEzKQwVoxCUtRWMuACrE7BL/5Y=" parent-hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" via-port "1-10" with-interface { 03:01:01 03:00:00 } with-connect-type "hotplug"
|
||||
allow id 0781:5581 name " SanDisk 3.2Gen1"
|
||||
'';
|
||||
|
||||
networking.firewall.allowedTCPPorts = [9001];
|
||||
|
||||
@@ -15,7 +15,7 @@ in {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."wallpapers" = {
|
||||
root = "${inputs.awesome-wallpapers.packages.${pkgs.system}.default}/share/awesome-wallpapers";
|
||||
root = "${inputs.awesome-wallpapers.packages.${pkgs.stdenv.hostPlatform.system}.default}/share/awesome-wallpapers";
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
|
||||
@@ -17,7 +17,7 @@ in {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"blog" = {
|
||||
root = "${inputs.blog.packages.${pkgs.system}.default}/share/blog";
|
||||
root = "${inputs.blog.packages.${pkgs.stdenv.hostPlatform.system}.default}/share/blog";
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
|
||||
Reference in New Issue
Block a user