Compare commits

..

4 Commits

9 changed files with 30 additions and 89 deletions

12
flake.lock generated
View File

@@ -166,11 +166,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1752064776, "lastModified": 1751904574,
"narHash": "sha256-vdvG6f7hWS8stxiN/uhxk777E7MI5RyWzcZ+WJ5KhoA=", "narHash": "sha256-jXkava/9BRiY2JEVmB68mpkFd+JU3BnNbh2RtRBXfTA=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland", "repo": "hyprland",
"rev": "c6497a719379e36c25df5f1980a5b2a1a78d3536", "rev": "bb958a9e139d6ae90d45fe360287d33e229f971e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -385,11 +385,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1751943650, "lastModified": 1751741127,
"narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=", "narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "88983d4b665fb491861005137ce2b11a9f89f203", "rev": "29e290002bfff26af1db6f64d070698019460302",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -35,7 +35,7 @@
{ {
publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4="; publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4=";
allowedIPs = ["10.0.0.0/8" "192.168.10.0/24" "2a02:9a0:300:fff0::/64"]; allowedIPs = ["10.0.0.0/8" "192.168.10.0/24" "2a02:9a0:300:fff0::/64"];
endpoint = "gw1.net.chsfg.se:51821"; endpoint = "gw1.net.chsfg.se:51831";
persistentKeepalive = 25; persistentKeepalive = 25;
} }
]; ];

View File

@@ -35,7 +35,7 @@
# { # {
# publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4="; # publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4=";
# allowedIPs = ["10.0.0.0/8" "192.168.10.0/24" "2a02:9a0:300:fff0::/48"]; # allowedIPs = ["10.0.0.0/8" "192.168.10.0/24" "2a02:9a0:300:fff0::/48"];
# endpoint = "gw1.net.chsfg.se:51821"; # endpoint = "gw1.net.chsfg.se:51831";
# persistentKeepalive = 25; # persistentKeepalive = 25;
# } # }
# ]; # ];

View File

@@ -48,7 +48,6 @@ in {
./hm/cava.nix # Audio visualizer config ./hm/cava.nix # Audio visualizer config
./hm/fastfetch.nix # Fastfetch config ./hm/fastfetch.nix # Fastfetch config
./hm/eza.nix # Eza config (ls alternative) ./hm/eza.nix # Eza config (ls alternative)
./hm/user-dirs.nix # XDG User directories config
]; ];
}; };
@@ -60,7 +59,7 @@ in {
users.schulze = { users.schulze = {
isNormalUser = true; isNormalUser = true;
description = "Felix Schulze"; description = "Felix Schulze";
extraGroups = ["networkmanager" "wheel" "docker" "plugdev" "wireshark"]; extraGroups = ["networkmanager" "wheel" "docker" "plugdev"];
shell = pkgs.fish; shell = pkgs.fish;
}; };
groups.libvirtd.members = ["schulze"]; groups.libvirtd.members = ["schulze"];
@@ -170,19 +169,8 @@ in {
blueman.enable = true; blueman.enable = true;
}; };
# ================================ # Bluetooth support
# HARDWARE hardware.bluetooth.enable = true;
# ================================
hardware = {
# Bluetooth support
bluetooth.enable = true;
# Logitech Unifying Receiver support
logitech.wireless = {
enable = true;
enableGraphical = true;
};
};
# power management tool which allows for managing hibernate and suspend states # power management tool which allows for managing hibernate and suspend states
powerManagement.enable = true; powerManagement.enable = true;

View File

@@ -1,7 +1,7 @@
{ {
programs.eza = { programs.eza = {
enable = true; enable = true;
icons = "auto"; icons = true;
git = true; git = true;
extraOptions = ["--group-directories-first"]; extraOptions = ["--group-directories-first"];
enableFishIntegration = true; enableFishIntegration = true;

View File

@@ -15,6 +15,7 @@ in {
misc = { misc = {
disable_hyprland_logo = true; # disables the random Hyprland logo / anime girl background. :( disable_hyprland_logo = true; # disables the random Hyprland logo / anime girl background. :(
disable_splash_rendering = true; disable_splash_rendering = true;
focus_on_activate = true;
}; };
input = { input = {
@@ -30,8 +31,8 @@ in {
sensitivity = 0; sensitivity = 0;
accel_profile = "flat"; accel_profile = "flat";
repeat_delay = 300; repeat_delay = 250;
repeat_rate = 30; repeat_rate = 40;
touchpad = { touchpad = {
natural_scroll = true; natural_scroll = true;

View File

@@ -5,12 +5,6 @@
serverAliveCountMax = 2; serverAliveCountMax = 2;
matchBlocks = { matchBlocks = {
"*" = {
sendEnv = ["TERM"];
setEnv = {
TERM = "xterm-256color"; # Fix ghostty issue
};
};
"d10.csb.brainmill.com" = { "d10.csb.brainmill.com" = {
forwardAgent = true; forwardAgent = true;
}; };

View File

@@ -1,18 +0,0 @@
{config, ...}: {
xdg.userDirs = {
enable = true;
desktop = "${config.home.homeDirectory}/Nextcloud/Home-sync/Desktop";
documents = "${config.home.homeDirectory}/Nextcloud/Home-sync/Documents";
download = "${config.home.homeDirectory}/Nextcloud/Home-sync/Downloads";
music = "${config.home.homeDirectory}/Nextcloud/Home-sync/Music";
pictures = "${config.home.homeDirectory}/Nextcloud/Home-sync/Pictures";
publicShare = "${config.home.homeDirectory}/Nextcloud/Home-sync/Public";
templates = "${config.home.homeDirectory}/Nextcloud/Home-sync/Templates";
videos = "${config.home.homeDirectory}/Nextcloud/Home-sync/Videos";
};
gtk.gtk3.bookmarks = [
"file://${config.home.homeDirectory}/Nextcloud/Home-sync/Downloads"
"file://${config.home.homeDirectory}/Nextcloud/Home-sync/Documents"
"file://${config.home.homeDirectory}/Nextcloud/Home-sync/Pictures"
];
}

View File

@@ -154,7 +154,6 @@ in {
enableFishIntegration = true; enableFishIntegration = true;
}; };
# Cat replacement
bat = { bat = {
enable = true; enable = true;
settings = { settings = {
@@ -193,6 +192,7 @@ in {
/* /*
---- POLICIES ---- ---- POLICIES ----
*/ */
DisableTelemetry = true; DisableTelemetry = true;
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
EnableTrackingProtection = { EnableTrackingProtection = {
@@ -201,45 +201,14 @@ in {
Cryptomining = true; Cryptomining = true;
Fingerprinting = true; Fingerprinting = true;
}; };
DisablePocket = true; DisablePocket = true;
FirefoxHome = {
Snippets = false;
TopSites = false;
SponsoredTopSites = false;
SponsoredPocket = false;
};
HttpsOnlyMode = "force_enabled";
DNSOverHTTPS = {
Enabled = true;
ProviderURL = "https://dns.schulze.network/dns-query";
Locked = true;
Fallback = true;
};
PasswordManagerEnabled = false;
/*
---- PREFERENCES ----
*/
Preferences = {
"extensions.activeThemeID" = {
Value = "{21ab01a8-2464-4824-bccb-6db15659347e}";
Status = "locked";
};
"sidebar.animation.duration-ms" = {
Value = 50;
Status = "locked";
};
"sidebar.animation.expand-on-hover.duration-ms" = {
Value = 50;
Status = "locked";
};
"sidebar.verticalTabs" = lock-true;
"sidebar.position_start" = lock-false;
};
/* /*
---- EXTENSIONS ---- ---- EXTENSIONS ----
*/ */
# Check about:support for extension/add-on ID strings. # Check about:support for extension/add-on ID strings.
# Valid strings for installation_mode are "allowed", "blocked", "force_installed" and "normal_installed". # Valid strings for installation_mode are "allowed", "blocked",
# "force_installed" and "normal_installed".
ExtensionSettings = { ExtensionSettings = {
"*".installation_mode = "normal_installed"; "*".installation_mode = "normal_installed";
# uBlock Origin: # uBlock Origin:
@@ -253,6 +222,17 @@ in {
installation_mode = "force_installed"; installation_mode = "force_installed";
}; };
}; };
/*
---- PREFERENCES ----
*/
Preferences = {
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
"extensions.activeThemeID" = {
Value = "{21ab01a8-2464-4824-bccb-6db15659347e}";
Status = "locked";
};
};
}; };
}; };
thunderbird = { thunderbird = {
@@ -288,10 +268,6 @@ in {
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true; dedicatedServer.openFirewall = true;
}; };
wireshark = {
enable = true;
package = pkgs.wireshark;
};
}; };
# enable and configure Docker # enable and configure Docker