aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2025-12-20 13:16:20 -0500
committerRosa <rosaontheweb@proton.me>2025-12-20 13:30:34 -0500
commitca9e1f1fb8126b34ca95fca78965c1d782a30102 (patch)
tree65b8e7e9125e3c9f2f4c72e15afa47fb6fe8c8ec /common
init
Diffstat (limited to 'common')
-rw-r--r--common/core.nix49
-rw-r--r--common/greetd.nix14
-rw-r--r--common/niri.nix4
-rw-r--r--common/pipewire.nix12
-rw-r--r--common/region/na-east.nix5
5 files changed, 84 insertions, 0 deletions
diff --git a/common/core.nix b/common/core.nix
new file mode 100644
index 0000000..cafe469
--- /dev/null
+++ b/common/core.nix
@@ -0,0 +1,49 @@
+{ config, pkgs, ... }:
+{
+ boot.loader = {
+ efi.canTouchEfiVariables = true;
+ systemd-boot = {
+ enable = true;
+ editor = false;
+ memtest86.enable = true;
+ };
+
+ timeout = 3;
+ };
+
+ environment.systemPackages = with pkgs; [
+ kakoune
+ ];
+
+ hardware.enableRedistributableFirmware = true;
+ nix.settings.experimental-features = [
+ "flakes"
+ "nix-command"
+ ];
+
+ programs = {
+ git = {
+ enable = true;
+ package = pkgs.gitMinimal;
+ };
+
+ nano.enable = false;
+ zsh = {
+ enable = true;
+ setOptions = [ "HIST_IGNORE_ALL_DUPS" ];
+ shellInit = ''
+ PS1="%n@%m %~ %# "
+ '';
+ };
+ };
+
+ users = {
+ defaultUserShell = pkgs.zsh;
+ users.rosa = {
+ extraGroups = [ "wheel" ];
+ initialPassword = "";
+ isNormalUser = true;
+ shell = pkgs.zsh;
+ };
+ };
+}
diff --git a/common/greetd.nix b/common/greetd.nix
new file mode 100644
index 0000000..66abd6c
--- /dev/null
+++ b/common/greetd.nix
@@ -0,0 +1,14 @@
+{ config, pkgs, ... }:
+{
+ services.greetd = {
+ enable = true;
+ settings = {
+ default_session = {
+ command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd start-hyprland";
+ user = "greeter";
+ };
+ };
+
+ useTextGreeter = true;
+ };
+}
diff --git a/common/niri.nix b/common/niri.nix
new file mode 100644
index 0000000..2882b96
--- /dev/null
+++ b/common/niri.nix
@@ -0,0 +1,4 @@
+{ config, ... }:
+{
+ programs.niri.enable = true;
+}
diff --git a/common/pipewire.nix b/common/pipewire.nix
new file mode 100644
index 0000000..78007b2
--- /dev/null
+++ b/common/pipewire.nix
@@ -0,0 +1,12 @@
+{ config, ... }:
+{
+ services.pipewire = {
+ enable = true;
+ alsa = {
+ enable = true;
+ support32Bit = true;
+ };
+
+ pulse.enable = true;
+ };
+}
diff --git a/common/region/na-east.nix b/common/region/na-east.nix
new file mode 100644
index 0000000..a7293a8
--- /dev/null
+++ b/common/region/na-east.nix
@@ -0,0 +1,5 @@
+{ config, ... }:
+{
+ i18n.defaultLocale = "en_CA.UTF-8";
+ time.timeZone = "Canada/Eastern";
+}