aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-02-08 20:11:54 -0800
committerCaroline Larimore <caroline@larimo.re>2025-04-14 18:58:53 -0700
commit1eb21c10c217c60e226d168875def24967570a19 (patch)
tree75d41077853ae8be5b94f335b00ec4a662a8aaa9
parent3b8a3a4a10a5e85317d37693b74e220a0b99503d (diff)
migration: housekeeping
-rw-r--r--hosts/c-pc/configuration.nix31
-rw-r--r--hosts/c-pc/home.nix29
-rw-r--r--roles/default.nix9
-rw-r--r--snowfall/modules/home/apps/default.nix40
4 files changed, 19 insertions, 90 deletions
diff --git a/hosts/c-pc/configuration.nix b/hosts/c-pc/configuration.nix
deleted file mode 100644
index b9590b5..0000000
--- a/hosts/c-pc/configuration.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ config, lib, pkgs, inputs, ... }:
-
-{
- imports = [
- ./hardware.nix
- ./network.nix
- ../../core
- ../../roles
- ];
-
- users.users = {
- root.hashedPasswordFile = "/secrets/passwords/root";
-
- "c" = {
- isNormalUser = true;
- hashedPasswordFile = "/secrets/passwords/c";
- extraGroups = [ "wheel" ];
- };
- };
-
- environment.systemPackages = with pkgs; [
- jellyfin
-
- go
- jdk21
-
- libGL
- ];
-
- system.stateVersion = "23.11";
-}
diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix
deleted file mode 100644
index 7fc00d6..0000000
--- a/hosts/c-pc/home.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ config, lib, pkgs, inputs, ...}:
-
-{
- imports = [
- inputs.impermanence.nixosModules.home-manager.impermanence
-
- ../../roles/home
- ];
-
- # theme.nix is an untracked symlink to a theme under ./themes/
- # This lets me switch out my theme without making changes in git
- theme = import ../../theme.nix;
-
- home.persistence."/persist/home" = {
- allowOther = true;
-
- directories = [
- ".config/jellyfin"
- ".local/share/jellyfin"
- ".cache/jellyfin"
- ];
- };
-
- home.packages = with pkgs; [
- mkvtoolnix
- ];
-
- home.stateVersion = "23.11";
-}
diff --git a/roles/default.nix b/roles/default.nix
deleted file mode 100644
index 420eaeb..0000000
--- a/roles/default.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ ... }:
-
-{
- imports = [
- ./desktop
- ./minecraft
- ./web
- ];
-}
diff --git a/snowfall/modules/home/apps/default.nix b/snowfall/modules/home/apps/default.nix
index b284132..2c26354 100644
--- a/snowfall/modules/home/apps/default.nix
+++ b/snowfall/modules/home/apps/default.nix
@@ -3,6 +3,24 @@
with lib; with lib.${namespace}; {
imports = with pkgs; [
(mkSimpleApp "gimp" {})
+ (mkSimpleApp "jellyfin" { packages = [ jellyfin-media-player ]; })
+ (mkSimpleApp "lutris" { persist = [ ".local/share/lutris" ]; })
+ (mkSimpleApp "irssi" { persist = [ ".irssi" ]; })
+
+ (mkSimpleApp "intellij" {
+ packages = [ jetbrains.idea-community ];
+ persist = [
+ ".config/JetBrains"
+ ".local/share/JetBrains"
+ ".cache/JetBrains"
+ ];
+ })
+
+ (mkSimpleApp "anki" {
+ packages = [ anki-bin ];
+ persist = [ ".local/share/Anki2" ];
+ })
+
(mkSimpleApp "qbittorrent" {
persist = [
".config/qBittorrent"
@@ -17,27 +35,7 @@ with lib; with lib.${namespace}; {
".local/share/nicotine"
];
})
- (mkSimpleApp "anki" {
- packages = [ anki-bin ];
- persist = [ ".local/share/Anki2" ];
- })
- (mkSimpleApp "jellyfin" {
- packages = [ jellyfin-media-player ];
- })
- (mkSimpleApp "lutris" {
- persist = [ ".local/share/lutris" ];
- })
- (mkSimpleApp "intellij" {
- packages = [ jetbrains.idea-community ];
- persist = [
- ".config/JetBrains"
- ".local/share/JetBrains"
- ".cache/JetBrains"
- ];
- })
- (mkSimpleApp "irssi" {
- persist = [ ".irssi" ];
- })
+
(mkSimpleApp "pfetch" {})
(mkSimpleApp "cmatrix" {})
(mkSimpleApp "asciiquarium" {})