aboutsummaryrefslogtreecommitdiffstats
path: root/modules/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/sw/swaybg/images/abstract-nord.png (renamed from modules/common/abstract-nord.png)bin140219 -> 140219 bytes
-rw-r--r--modules/by-name/sw/swaybg/images/abstract-nord.png.license (renamed from modules/common/abstract-nord.png.license)0
-rw-r--r--modules/common/default.nix78
-rw-r--r--modules/common/nixos_shell_configuration.nix66
-rw-r--r--modules/common/projects.json1
5 files changed, 5 insertions, 140 deletions
diff --git a/modules/common/abstract-nord.png b/modules/by-name/sw/swaybg/images/abstract-nord.png
index 5ef498bf..5ef498bf 100644
--- a/modules/common/abstract-nord.png
+++ b/modules/by-name/sw/swaybg/images/abstract-nord.png
Binary files differ
diff --git a/modules/common/abstract-nord.png.license b/modules/by-name/sw/swaybg/images/abstract-nord.png.license
index eae6a84c..eae6a84c 100644
--- a/modules/common/abstract-nord.png.license
+++ b/modules/by-name/sw/swaybg/images/abstract-nord.png.license
diff --git a/modules/common/default.nix b/modules/common/default.nix
index f9831351..f2a6b04d 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -13,15 +13,6 @@
config,
pkgs,
lib,
- # Needed for nixos-shell
- libraries,
- modules,
- openPRsNixpkgs,
- packageSets,
- system,
- self,
- externalDependencies,
- externalBinaries,
...
}: {
# TODO(@bpeetz): Move this file to default options in their respective modules. <2025-05-31>
@@ -50,47 +41,6 @@
];
};
- nixos-shell = {
- enable = lib.mkDefault true;
- configuration = {
- specialArgs = {
- inherit
- libraries
- modules
- ;
- };
- value = lib.mkMerge [
- {
- _module.args = {
- inherit
- # extra package sources
- openPRsNixpkgs
- packageSets
- # extra information
- system
- # nix registry
- self
- externalDependencies
- # bins
- # TODO: Integrate these into `pkgs/by-name` <2024-05-22>
- externalBinaries
- ;
- };
- }
-
- {
- require = [
- ./nixos_shell_configuration.nix
-
- ../../modules
- ../../modules/common
- ];
- }
- ];
- };
- mounts = {};
- };
-
polkit.enable = true;
power.enable = true;
xdg.enable = true;
@@ -147,27 +97,14 @@
config.home-manager.users.soispha.home.file);
in
[
- # TODO(@bpeetz): Move these to their respective modules <2025-05-09>
- # Already synchronized by TaskChampion sync server
- "~/.local/share/task"
- # Already synchronized by atuin sync server
- "~/.local/share/atuin"
+ # TODO(@bpeetz): Move that to its respective module (after migrating it to
+ # by-name) <2025-05-09>
# Already synchronized by mbsync
"~/.local/share/maildir"
-
- # Should not be synchronized
- "~/.local/share/unison"
-
- # These are just to big to be synchronized (# TODO: Work around that <2024-08-31> )
- "~/media/music/beets.old"
- "~/media/music/deerix"
- "~/.local/share/Steam"
]
++ homeManagerSymlinks;
pathsToSync = [
- "~/.local/state/mpv"
- "~/.local/state/nvim"
"~/.local/share"
"~/.local/.Trash-1000"
@@ -194,12 +131,12 @@
enable = true;
enableAge = lib.mkDefault true;
};
- cargo.enable = true;
direnv.enable = true;
git.enable = true;
imv.enable = true;
less.enable = true;
lf.enable = true;
+ ly.enable = lib.mkDefault true;
gpg.enable = true;
river = {
enable = lib.mkDefault true;
@@ -263,17 +200,10 @@
pointer-1133-49970-Logitech_Gaming_Mouse_G502 = [["pointer-accel" "0"] ["accel-profile" "none"]];
pointer-12951-6505-ZSA_Technology_Labs_Moonlander_Mark_I = [["pointer-accel" "0"] ["accel-profile" "none"]];
};
- backgroundStart = [
- # TODO(@bpeetz): Move these to systemd units/their own modules <2025-05-18>
-
- ["${lib.getExe pkgs.swaybg}" "--image" "${./abstract-nord.png}"]
- pkgs.swayidle
- pkgs.alacritty
- ];
};
};
mpv.enable = true;
- steam.enable = false;
+ steam.enable = true;
ssh.enable = true;
swaylock.enable = true;
timewarrior.enable = true;
diff --git a/modules/common/nixos_shell_configuration.nix b/modules/common/nixos_shell_configuration.nix
deleted file mode 100644
index 1bec0145..00000000
--- a/modules/common/nixos_shell_configuration.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-{...}: {
- soispha = {
- networking = {
- enable = true;
- hostName = "lahmu";
- mode = "systemd-networkd";
- };
-
- nixos-shell.enable = false;
-
- nixpkgs = {
- enable = true;
- systemName = "x86_64-linux";
- };
-
- services = {
- unison.enable = false;
- backup = {
- storagebox.enable = false;
- local.enable = false;
- };
- };
-
- programs = {
- river.enable = false;
-
- # We don't have access to the age secrets.
- atuin.enableAge = false;
- taskwarrior.enableAge = false;
- };
-
- locale = {
- enable = true;
- keyMap = "us";
- };
-
- users = {
- enable = true;
- enableDeprecatedPlugdev = true;
-
- # Make logging in impossible.
- # (This also removes root a obvious access-point from the virtual machine)
- hashedPassword = "";
- };
- };
-
- soispha = {
- hardware = {
- enable = false;
- };
-
- disks.enable = false;
- };
-
- # We run without state
- # system.stateVersion = null;
-}
diff --git a/modules/common/projects.json b/modules/common/projects.json
index e8e9bc39..7f434976 100644
--- a/modules/common/projects.json
+++ b/modules/common/projects.json
@@ -22,6 +22,7 @@
"google": {},
"health": {},
"job": {},
+ "shop": {},
"sweden": {}
}
},