Compare commits
12 Commits
6007e9f214
...
master
Author | SHA1 | Date | |
---|---|---|---|
8e93931704 | |||
a728e7db18 | |||
bcc74c81e4 | |||
a5a7c958f6 | |||
d2a1cad978 | |||
ebc131de84 | |||
24034ab5fe | |||
0e34e1f6a3 | |||
dd04918131 | |||
33ac2d0d6f | |||
8440cb3fd8 | |||
2fbb1e5090 |
48
flake.lock
generated
48
flake.lock
generated
@@ -20,11 +20,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1751569683,
|
||||
"narHash": "sha256-PoQcCYTiN52PanxgWBN4Tqet1x4PCk6KtjaHNjELH88=",
|
||||
"lastModified": 1751740947,
|
||||
"narHash": "sha256-35040CHH7P3JGmhGVfEb2oJHL/A5mI2IXumhkxrBnao=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "aquamarine",
|
||||
"rev": "c0c56dde3e471030edb135425a82107cf0057c6f",
|
||||
"rev": "dfc1db15a08c4cd234288f66e1199c653495301f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -137,11 +137,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750621377,
|
||||
"narHash": "sha256-8u6b5oAdX0rCuoR8wFenajBRmI+mzbpNig6hSCuWUzE=",
|
||||
"lastModified": 1751808145,
|
||||
"narHash": "sha256-OXgL0XaKMmfX2rRQkt9SkJw+QNfv0jExlySt1D6O72g=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprgraphics",
|
||||
"rev": "b3d628d01693fb9bb0a6690cd4e7b80abda04310",
|
||||
"rev": "b841473a0bd4a1a74a0b64f1ec2ab199035c349f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -166,11 +166,11 @@
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1751714318,
|
||||
"narHash": "sha256-nkoRnDkRGaCT0JTuHcDXPCMkdmhUFEtI1TMUiQcrxfs=",
|
||||
"lastModified": 1752064776,
|
||||
"narHash": "sha256-vdvG6f7hWS8stxiN/uhxk777E7MI5RyWzcZ+WJ5KhoA=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland",
|
||||
"rev": "6a5f4f5954a64bac718e3938f062d045256e7aeb",
|
||||
"rev": "c6497a719379e36c25df5f1980a5b2a1a78d3536",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -313,11 +313,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1751061882,
|
||||
"narHash": "sha256-g9n8Vrbx+2JYM170P9BbvGHN39Wlkr4U+V2WLHQsXL8=",
|
||||
"lastModified": 1751888065,
|
||||
"narHash": "sha256-F2SV9WGqgtRsXIdUrl3sRe0wXlQD+kRRZcSfbepjPJY=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprutils",
|
||||
"rev": "4737241eaf8a1e51671a2a088518071f9a265cf4",
|
||||
"rev": "a8229739cf36d159001cfc203871917b83fdf917",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -338,11 +338,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750371869,
|
||||
"narHash": "sha256-lGk4gLjgZQ/rndUkzmPYcgbHr8gKU5u71vyrjnwfpB4=",
|
||||
"lastModified": 1751881472,
|
||||
"narHash": "sha256-meB0SnXbwIe2trD041MLKEv6R7NZ759QwBcVIhlSBfE=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprwayland-scanner",
|
||||
"rev": "aa38edd6e3e277ae6a97ea83a69261a5c3aab9fd",
|
||||
"rev": "8fb426b3e5452fd9169453fd6c10f8c14ca37120",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -353,11 +353,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1751011381,
|
||||
"narHash": "sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM=",
|
||||
"lastModified": 1751792365,
|
||||
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "30e2e2857ba47844aa71991daa6ed1fc678bcbb7",
|
||||
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -385,11 +385,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1751741127,
|
||||
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
|
||||
"lastModified": 1751943650,
|
||||
"narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "29e290002bfff26af1db6f64d070698019460302",
|
||||
"rev": "88983d4b665fb491861005137ce2b11a9f89f203",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -473,11 +473,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750372504,
|
||||
"narHash": "sha256-VBeZb1oqZM1cqCAZnFz/WyYhO8aF/ImagI7WWg/Z3Og=",
|
||||
"lastModified": 1751300244,
|
||||
"narHash": "sha256-PFuv1TZVYvQhha0ac53E3YgdtmLShrN0t4T6xqHl0jE=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "xdg-desktop-portal-hyprland",
|
||||
"rev": "400308fc4f9d12e0a93e483c2e7a649e12af1a92",
|
||||
"rev": "6115f3fdcb2c1a57b4a80a69f3c797e47607b90a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@@ -35,7 +35,7 @@
|
||||
{
|
||||
publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4=";
|
||||
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;
|
||||
}
|
||||
];
|
||||
|
@@ -35,7 +35,7 @@
|
||||
# {
|
||||
# publicKey = "h/BUyzXy0Xo4KJKS/U5V4C9rDJT3fWjjiZoy0I7P+H4=";
|
||||
# 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;
|
||||
# }
|
||||
# ];
|
||||
|
@@ -48,6 +48,7 @@ in {
|
||||
./hm/cava.nix # Audio visualizer config
|
||||
./hm/fastfetch.nix # Fastfetch config
|
||||
./hm/eza.nix # Eza config (ls alternative)
|
||||
./hm/user-dirs.nix # XDG User directories config
|
||||
];
|
||||
};
|
||||
|
||||
@@ -59,7 +60,7 @@ in {
|
||||
users.schulze = {
|
||||
isNormalUser = true;
|
||||
description = "Felix Schulze";
|
||||
extraGroups = ["networkmanager" "wheel" "docker" "plugdev"];
|
||||
extraGroups = ["networkmanager" "wheel" "docker" "plugdev" "wireshark"];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
groups.libvirtd.members = ["schulze"];
|
||||
@@ -169,8 +170,19 @@ in {
|
||||
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
|
||||
powerManagement.enable = true;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = true;
|
||||
icons = "auto";
|
||||
git = true;
|
||||
extraOptions = ["--group-directories-first"];
|
||||
enableFishIntegration = true;
|
||||
|
@@ -15,7 +15,6 @@ in {
|
||||
misc = {
|
||||
disable_hyprland_logo = true; # disables the random Hyprland logo / anime girl background. :(
|
||||
disable_splash_rendering = true;
|
||||
focus_on_activate = true;
|
||||
};
|
||||
|
||||
input = {
|
||||
@@ -31,8 +30,8 @@ in {
|
||||
sensitivity = 0;
|
||||
accel_profile = "flat";
|
||||
|
||||
repeat_delay = 250;
|
||||
repeat_rate = 40;
|
||||
repeat_delay = 300;
|
||||
repeat_rate = 30;
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = true;
|
||||
|
@@ -5,6 +5,12 @@
|
||||
serverAliveCountMax = 2;
|
||||
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
sendEnv = ["TERM"];
|
||||
setEnv = {
|
||||
TERM = "xterm-256color"; # Fix ghostty issue
|
||||
};
|
||||
};
|
||||
"d10.csb.brainmill.com" = {
|
||||
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;
|
||||
};
|
||||
|
||||
# Cat replacement
|
||||
bat = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -192,7 +193,6 @@ in {
|
||||
/*
|
||||
---- POLICIES ----
|
||||
*/
|
||||
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
EnableTrackingProtection = {
|
||||
@@ -201,14 +201,45 @@ in {
|
||||
Cryptomining = true;
|
||||
Fingerprinting = 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 ----
|
||||
*/
|
||||
# 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 = {
|
||||
"*".installation_mode = "normal_installed";
|
||||
# uBlock Origin:
|
||||
@@ -222,17 +253,6 @@ in {
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
---- PREFERENCES ----
|
||||
*/
|
||||
Preferences = {
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
|
||||
"extensions.activeThemeID" = {
|
||||
Value = "{21ab01a8-2464-4824-bccb-6db15659347e}";
|
||||
Status = "locked";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
thunderbird = {
|
||||
@@ -268,6 +288,10 @@ in {
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
wireshark = {
|
||||
enable = true;
|
||||
package = pkgs.wireshark;
|
||||
};
|
||||
};
|
||||
|
||||
# enable and configure Docker
|
||||
|
Reference in New Issue
Block a user