Compare commits
12 Commits
a4733548f7
...
master
Author | SHA1 | Date | |
---|---|---|---|
8e93931704 | |||
a728e7db18 | |||
bcc74c81e4 | |||
a5a7c958f6 | |||
d2a1cad978 | |||
ebc131de84 | |||
24034ab5fe | |||
0e34e1f6a3 | |||
dd04918131 | |||
33ac2d0d6f | |||
8440cb3fd8 | |||
2fbb1e5090 |
12
flake.lock
generated
12
flake.lock
generated
@@ -166,11 +166,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751904574,
|
"lastModified": 1752064776,
|
||||||
"narHash": "sha256-jXkava/9BRiY2JEVmB68mpkFd+JU3BnNbh2RtRBXfTA=",
|
"narHash": "sha256-vdvG6f7hWS8stxiN/uhxk777E7MI5RyWzcZ+WJ5KhoA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland",
|
"repo": "hyprland",
|
||||||
"rev": "bb958a9e139d6ae90d45fe360287d33e229f971e",
|
"rev": "c6497a719379e36c25df5f1980a5b2a1a78d3536",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -385,11 +385,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751741127,
|
"lastModified": 1751943650,
|
||||||
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
|
"narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "29e290002bfff26af1db6f64d070698019460302",
|
"rev": "88983d4b665fb491861005137ce2b11a9f89f203",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -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:51831";
|
endpoint = "gw1.net.chsfg.se:51821";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@@ -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:51831";
|
# endpoint = "gw1.net.chsfg.se:51821";
|
||||||
# persistentKeepalive = 25;
|
# persistentKeepalive = 25;
|
||||||
# }
|
# }
|
||||||
# ];
|
# ];
|
||||||
|
@@ -48,6 +48,7 @@ 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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -59,7 +60,7 @@ in {
|
|||||||
users.schulze = {
|
users.schulze = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Felix Schulze";
|
description = "Felix Schulze";
|
||||||
extraGroups = ["networkmanager" "wheel" "docker" "plugdev"];
|
extraGroups = ["networkmanager" "wheel" "docker" "plugdev" "wireshark"];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
groups.libvirtd.members = ["schulze"];
|
groups.libvirtd.members = ["schulze"];
|
||||||
@@ -169,8 +170,19 @@ in {
|
|||||||
blueman.enable = true;
|
blueman.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bluetooth support
|
# ================================
|
||||||
hardware.bluetooth.enable = true;
|
# HARDWARE
|
||||||
|
# ================================
|
||||||
|
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;
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
icons = true;
|
icons = "auto";
|
||||||
git = true;
|
git = true;
|
||||||
extraOptions = ["--group-directories-first"];
|
extraOptions = ["--group-directories-first"];
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
|
@@ -15,7 +15,6 @@ 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 = {
|
||||||
@@ -31,8 +30,8 @@ in {
|
|||||||
sensitivity = 0;
|
sensitivity = 0;
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
|
|
||||||
repeat_delay = 250;
|
repeat_delay = 300;
|
||||||
repeat_rate = 40;
|
repeat_rate = 30;
|
||||||
|
|
||||||
touchpad = {
|
touchpad = {
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
|
@@ -5,6 +5,12 @@
|
|||||||
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;
|
||||||
};
|
};
|
||||||
|
18
modules/hm/user-dirs.nix
Normal file
18
modules/hm/user-dirs.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{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"
|
||||||
|
];
|
||||||
|
}
|
@@ -154,6 +154,7 @@ in {
|
|||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Cat replacement
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -192,7 +193,6 @@ in {
|
|||||||
/*
|
/*
|
||||||
---- POLICIES ----
|
---- POLICIES ----
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
EnableTrackingProtection = {
|
EnableTrackingProtection = {
|
||||||
@@ -201,14 +201,45 @@ 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",
|
# Valid strings for installation_mode are "allowed", "blocked", "force_installed" and "normal_installed".
|
||||||
# "force_installed" and "normal_installed".
|
|
||||||
ExtensionSettings = {
|
ExtensionSettings = {
|
||||||
"*".installation_mode = "normal_installed";
|
"*".installation_mode = "normal_installed";
|
||||||
# uBlock Origin:
|
# uBlock Origin:
|
||||||
@@ -222,17 +253,6 @@ 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 = {
|
||||||
@@ -268,6 +288,10 @@ 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
|
||||||
|
Reference in New Issue
Block a user