summaryrefslogtreecommitdiff
path: root/common/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/default.nix')
-rw-r--r--common/default.nix63
1 files changed, 63 insertions, 0 deletions
diff --git a/common/default.nix b/common/default.nix
new file mode 100644
index 0000000..1641316
--- /dev/null
+++ b/common/default.nix
@@ -0,0 +1,63 @@
+{
+ config,
+ pkgs,
+ home-manager,
+ nixvim,
+ webtray,
+ ...
+}:
+{
+ imports = [
+ home-manager.nixosModules.default
+ webtray.outputs.nixosModules.default
+ ];
+
+ environment.systemPackages = with pkgs; [
+ pciutils
+ usbutils
+ acpi
+ cargo
+ rustc
+ rustfmt
+ nixfmt-rfc-style
+ blueberry
+ gimp
+ inkscape
+ hicolor-icon-theme
+ ];
+
+ fonts.packages = with pkgs; [ nerdfonts ];
+
+ networking.networkmanager.enable = true;
+
+ time.timeZone = "Europe/Zurich";
+
+ i18n.defaultLocale = "en_US.UTF-8";
+ console = {
+ font = "Lat2-Terminus16";
+ keyMap = "us";
+ };
+
+ users = import ./users.nix { inherit pkgs; };
+ programs = import ./programs { inherit pkgs; };
+ services = import ./services { inherit pkgs; };
+ home-manager = import ./home {
+ inherit pkgs;
+ inherit nixvim;
+ inherit config;
+ };
+
+ security.pam.services.hyprlock = { };
+ security.rtkit.enable = true;
+
+ hardware.bluetooth.enable = true;
+
+ environment.shellAliases = {
+ dmenu-wl = "wofi --show dmenu";
+ };
+
+ nix.settings.experimental-features = [
+ "nix-command"
+ "flakes"
+ ];
+}