Compare commits

..

21 commits

Author SHA1 Message Date
547606ec39 Update to 25.11 2025-12-14 11:00:43 -06:00
dd0de6c7b6 Update these things automatically 2025-11-26 14:03:36 -06:00
Benson Chu
e1a0b1066e Identation and comment 2025-09-04 15:30:53 -05:00
Benson Chu
ae02f676d4 Two more things 2025-09-04 13:22:10 -05:00
3d5200d591 Idk when this changed, but it hasn't been working for a while 2025-09-01 13:57:42 -05:00
16817df594 mujmap please 2025-09-01 13:52:58 -05:00
0256d10043 Beets plugins folder 2025-08-27 07:49:23 -05:00
Benson Chu
bb9ddcd46b Jira please 2025-08-20 14:17:20 -05:00
Benson Chu
9e5291b49e cmake causing problems 2025-08-20 14:17:15 -05:00
Benson Chu
2999111949 For clang-format 2025-08-15 11:12:10 -05:00
Benson Chu
036e2814ec I would like tmux please 2025-08-12 09:20:21 -05:00
61e461ba28 One last update for 25.05 2025-08-11 14:21:33 -05:00
04d9455c86 Updated emacs-overlay 2025-08-11 14:09:37 -05:00
c306d48eac Upgraded to 25.11 2025-08-11 14:07:49 -05:00
1cedb29582 Merge remote-tracking branch 'origin/master' 2025-08-11 13:55:41 -05:00
33138b45c3 Oops, bug 2025-08-11 13:55:17 -05:00
f76048757f I read the comment! 2025-08-11 13:50:22 -05:00
8831a4a1f4 NixWSL 2025-07-15 13:39:12 -05:00
ba809ac6f2 Indentation 2025-07-15 13:39:12 -05:00
Benson Chu
657c7b8f9a Option has been moved 2025-07-07 18:02:14 -05:00
Benson Chu
f1cbe21ec7 Oops, typo from dead code 2025-07-07 18:00:10 -05:00
16 changed files with 259 additions and 123 deletions

View file

@ -23,6 +23,7 @@
keychain ledger gnupg keychain ledger gnupg
ledger2beancount beancount fava ledger2beancount beancount fava
hledger hledger
ledger-autosync
mailutils mailutils
pandoc texlive.combined.scheme-full pandoc texlive.combined.scheme-full
texlivePackages.noto texlivePackages.noto
@ -72,6 +73,17 @@
# chromaprint # chromaprint
lxml lxml
# RedditArchiver dependencies
pyyaml
anytree
colored
markdown2
praw
colored
prawcore
ofxclient
])) ]))
chromaprint chromaprint

View file

@ -71,6 +71,18 @@ in
LC_TIME = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
}; };
system.autoUpgrade = {
enable = true;
flake = "/home/benson/nixos-config";
flags = [
"--update-input"
"unstable"
"-L" # print build logs
];
dates = "12:00";
randomizedDelaySec = "45min";
};
environment.systemPackages = import ./base-packages.nix { inherit pkgs; }; environment.systemPackages = import ./base-packages.nix { inherit pkgs; };
services.tailscale.enable = true; services.tailscale.enable = true;
@ -89,13 +101,4 @@ in
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
} }

View file

@ -21,8 +21,8 @@
lldb lldb
mold mold
lld lld
clang-tools_16 # clangd, clang-format clang-tools # clangd, clang-format
llvmPackages_16.libllvm llvmPackages.libllvm
bear bear
rr rr
valgrind valgrind

View file

@ -12,11 +12,12 @@ inputs:
}) })
(final: prev: { (final: prev: {
myEmacs = # final.emacs-git, final.emacs-unstable, or final.emacs-igc
((prev.emacsPackagesFor final.emacs-unstable) myEmacs =
.emacsWithPackages (epkgs: with epkgs; [ ((prev.emacsPackagesFor final.emacs-unstable)
treesit-grammars.with-all-grammars .emacsWithPackages (epkgs: with epkgs; [
mu4e treesit-grammars.with-all-grammars
])); mu4e
]));
}) })
] ]

View file

@ -5,11 +5,10 @@
./exwm.nix ./exwm.nix
]; ];
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services = {
services = {
# Enable sound with pipewire.
pipewire = { pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
@ -21,35 +20,37 @@
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
# media-session.enable = true; # media-session.enable = true;
}; };
};
services.xserver = { pulseaudio.enable = false;
# Enable the X11 windowing system.
enable = true;
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
desktopManager.plasma5.enable = true; desktopManager.plasma6.enable = true;
xserver = {
# Enable the X11 windowing system.
enable = true;
# Enable sddm and startx
displayManager = {
startx.enable = true;
};
# Configure keymap in X11
xkb = {
layout = "us";
variant = "";
};
};
# Enable sddm and startx
displayManager = { displayManager = {
startx.enable = true; sddm.enable = true;
}; };
# Configure keymap in X11 libinput = {
xkb = { enable = true;
layout = "us"; touchpad = {
variant = ""; naturalScrolling = true;
}; };
};
services.displayManager = {
sddm.enable = true;
};
services.libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
}; };
}; };
@ -57,7 +58,6 @@
packages = with pkgs; [ packages = with pkgs; [
roboto-mono roboto-mono
noto-fonts noto-fonts
noto-fonts-extra
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-cjk-serif noto-fonts-cjk-serif
commit-mono commit-mono
@ -67,7 +67,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
update.firefox update.firefox
update.google-chrome update.google-chrome
bitwarden bitwarden-desktop
vlc vlc
mpv mpv
obs-studio obs-studio
@ -80,10 +80,10 @@
inkscape inkscape
qdirstat qdirstat
update.signal-desktop unstable.signal-desktop
parsec-bin parsec-bin
update.discord unstable.discord
update.telegram-desktop unstable.telegram-desktop
dunst dunst
shutter shutter
# update.rustdesk # update.rustdesk
@ -91,10 +91,10 @@
docker docker
pcmanfm pcmanfm
libsForQt5.dolphin kdePackages.dolphin
libsForQt5.dolphin-plugins kdePackages.dolphin-plugins
libsForQt5.ffmpegthumbs kdePackages.ffmpegthumbs
libsForQt5.kdegraphics-thumbnailers kdePackages.kdegraphics-thumbnailers
p7zip p7zip
unzip unzip
@ -134,5 +134,7 @@
xorg.xkbcomp xorg.xkbcomp
insomnia insomnia
mujmap
]; ];
} }

View file

@ -8,11 +8,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1750523034, "lastModified": 1765729484,
"narHash": "sha256-4jYxNHn/9iyAANAXc3pkhhNeTyAJISshP3lgjH9l70o=", "narHash": "sha256-exsMvinnpTWm+lZiq8RucYejmS605EP8uny/32KzlE8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "7a26e0974d0a1dd5d295a80f533814206d78523f", "rev": "60f44dfc7fedf818666436d3b341858a400e31e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,6 +22,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
@ -47,16 +63,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736373539, "lastModified": 1765605144,
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=", "narHash": "sha256-RM2xs+1HdHxesjOelxoA3eSvXShC8pmBvtyTke4Ango=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56", "rev": "90b62096f099b73043a747348c11dbfcfbdea949",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.11", "ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -77,34 +93,56 @@
"type": "github" "type": "github"
} }
}, },
"nixos-wsl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1752199438,
"narHash": "sha256-xSBMmGtq8K4Qv80TMqREmESCAsRLJRHAbFH2T/2Bf1Y=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "d34d9412556d3a896e294534ccd25f53b6822e80",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "main",
"repo": "NixOS-WSL",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1750330365, "lastModified": 1765608474,
"narHash": "sha256-hJ7XMNVsTnnbV2NPmStCC07gvv5l2x7+Skb7hyUzazg=", "narHash": "sha256-9Wx53UK0z8Di5iesJID0tS1dRKwGxI4i7tsSanOHhF0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d883b6213afa179b58ba8bace834f1419707d0ad", "rev": "28bb483c11a1214a73f9fd2d9928a6e2ea86ec71",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-24.11", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1750330365, "lastModified": 1765363881,
"narHash": "sha256-hJ7XMNVsTnnbV2NPmStCC07gvv5l2x7+Skb7hyUzazg=", "narHash": "sha256-3C3xWn8/2Zzr7sxVBmpc1H1QfxjNfta5IMFe3O9ZEPw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d883b6213afa179b58ba8bace834f1419707d0ad", "rev": "d2b1213bf5ec5e62d96b003ab4b5cbc42abfc0d0",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -115,6 +153,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"unstable": "unstable", "unstable": "unstable",
"update": "update" "update": "update"
@ -137,11 +176,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1746904237, "lastModified": 1765472234,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", "narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", "rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -153,16 +192,16 @@
}, },
"update": { "update": {
"locked": { "locked": {
"lastModified": 1746957726, "lastModified": 1765608474,
"narHash": "sha256-k9ut1LSfHCr0AW82ttEQzXVCqmyWVA5+SHJkS5ID/Jo=", "narHash": "sha256-9Wx53UK0z8Di5iesJID0tS1dRKwGxI4i7tsSanOHhF0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a39ed32a651fdee6842ec930761e31d1f242cb94", "rev": "28bb483c11a1214a73f9fd2d9928a6e2ea86ec71",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-24.11", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,20 +1,24 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
update.url = "github:nixos/nixpkgs/nixos-24.11"; update.url = "github:nixos/nixpkgs/nixos-25.11";
unstable.url = "github:nixos/nixpkgs/nixos-unstable"; unstable.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.11"; url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
emacs-overlay = { emacs-overlay = {
url = "github:nix-community/emacs-overlay/master"; url = "github:nix-community/emacs-overlay/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-wsl = {
url = "github:nix-community/NixOS-WSL/main";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, update, unstable, home-manager, nixos-hardware, emacs-overlay, ... }@inputs: outputs = { self, nixpkgs, update, unstable, home-manager, nixos-hardware, emacs-overlay, ... }@inputs:
@ -37,7 +41,7 @@
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.benson.imports = [ ./home/users/benson.nix ]; home-manager.users.benson = ./home/users/benson.nix;
} }
]; ];
}; };
@ -49,29 +53,38 @@
(map mkSystem ["NixDawn" "NixFrame"])) (map mkSystem ["NixDawn" "NixFrame"]))
// { // {
NixGate = pkgs.lib.nixosSystem { NixWSL = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./common/configuration.nix ./common/configuration.nix
./hosts/NixGate/configuration.nix ./hosts/NixWSL/configuration.nix
]; ];
}; };
NixSentinel = pkgs.lib.nixosSystem { NixGate = pkgs.lib.nixosSystem {
inherit system; inherit system;
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./common/configuration.nix ./common/configuration.nix
./hosts/NixSentinel/configuration.nix ./hosts/NixGate/configuration.nix
]; ];
}; };
# LenoNix = nixpkgs.lib.nixosSystem { NixSentinel = pkgs.lib.nixosSystem {
# system = "x86_64-linux"; inherit system;
# modules = [ ./hosts/NixFrame/configuration.nix ]; specialArgs = { inherit inputs; };
# }; modules = [
}; ./common/configuration.nix
./hosts/NixSentinel/configuration.nix
];
};
# LenoNix = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# modules = [ ./hosts/NixFrame/configuration.nix ];
# };
};
packages."${system}" = { packages."${system}" = {
mps-debug = pkgs.mps-debug; mps-debug = pkgs.mps-debug;

View file

@ -12,7 +12,9 @@
my.beets-config.enable = true; my.beets-config.enable = true;
my.tmux-config.enable = true; my.tmux-config.enable = true;
my.flakeLocation = lib.mkIf (builtins.hasAttr "osConfig" args) args.osConfig.my.flakeLocation; my.flakeLocation = if (builtins.hasAttr "osConfig" args)
then args.osConfig.my.flakeLocation
else "/home/benson/nixos-config";
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
@ -36,7 +38,7 @@
# You should not change this value, even if you update Home Manager. If you do # You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager # want to update the value, then make sure to first check the Home Manager
# release notes. # release notes.
home.stateVersion = "24.05"; # Please read the comment before changing. home.stateVersion = "23.11"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
@ -105,6 +107,8 @@
passwordCommand = ''${pkgs.myEmacs}/bin/emacsclient -e '(get-authinfo "imap.fastmail.com" "993" "bensonchu457@fastmail.com")' | ${pkgs.coreutils}/bin/tr -d '"' ''; passwordCommand = ''${pkgs.myEmacs}/bin/emacsclient -e '(get-authinfo "imap.fastmail.com" "993" "bensonchu457@fastmail.com")' | ${pkgs.coreutils}/bin/tr -d '"' '';
mu.enable = true; mu.enable = true;
mujmap.enable = true;
}; };
}; };

View file

@ -53,9 +53,19 @@
git git
cmatrix cmatrix
cmake gnumake libtool roswell sbcl gnumake libtool roswell sbcl
dtc dtc
clang-tools
jira-cli-go
direnv
firefox
tmux
mold mold
]; ];

View file

@ -8,7 +8,8 @@
../../common/configuration.nix ../../common/configuration.nix
../../common/user-facing.nix ../../common/user-facing.nix
../../common/development-machine.nix ../../common/development-machine.nix
../../common/lxd-setup.nix # Unmaintained
# ../../common/lxd-setup.nix
../../common/moms-house ../../common/moms-house
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
@ -36,11 +37,11 @@
description = "Benson Chu"; description = "Benson Chu";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
kate kdePackages.kate
kdePackages.dolphin
kdePackages.breeze-icons
steam steam
moonlight-qt moonlight-qt
dolphin
breeze-icons
xautolock xautolock
unstable.mqtt-explorer unstable.mqtt-explorer
musescore musescore
@ -78,10 +79,12 @@
fwupd.enable = true; fwupd.enable = true;
logind = { logind = {
extraConfig = '' settings = {
IdleAction=hybrid-sleep Login = {
IdleActionSec=30min IdleAction = "hybrid-sleep";
''; IdleActionSec = "30min";
};
};
}; };
apcupsd = { apcupsd = {
@ -142,13 +145,11 @@
# unstable.rustdesk # unstable.rustdesk
tarsnap tarsnap
# (pkgs.callPackage /home/benson/workspace/peter-nixos/mfcl2690dw/default.nix { } ) # (pkgs.callPackage /home/benson/workspace/peter-nixos/mfcl2690dw/default.nix { } )
clasp clasp-common-lisp
leiningen leiningen
supercollider-with-sc3-plugins supercollider-with-sc3-plugins
]; ];
hardware.gkraken.enable = true;
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPortRanges = [ allowedTCPPortRanges = [
@ -205,6 +206,5 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "23.11";
} }

View file

@ -47,7 +47,7 @@
description = "Benson Chu"; description = "Benson Chu";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
kate kdePackages.kate
steam steam
]; ];
}; };
@ -65,6 +65,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
} }

View file

@ -40,9 +40,9 @@
}; };
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver.xkb = {
layout = "us"; layout = "us";
xkbVariant = ""; variant = "";
}; };
# Virtualizer Agent # Virtualizer Agent

View file

@ -0,0 +1,30 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
# NixOS-WSL specific options are documented on the NixOS-WSL repository:
# https://github.com/nix-community/NixOS-WSL
{ config, lib, pkgs, inputs, ... }:
{
imports = [
../../common/configuration.nix
../../common/user-facing.nix
../../common/development-machine.nix
inputs.nixos-wsl.nixosModules.default
];
networking.hostName = "NixWSL";
wsl.enable = true;
wsl.defaultUser = "benson";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}

View file

@ -1,3 +1,20 @@
{ inputs, config, pkgs, lib, ... }: { inputs, config, pkgs, lib, ... }:
{ {
fileSystems."/mnt/media" = {
device = "//atlantis.local/media2";
fsType = "cifs";
options = [ "username=bchu" "password=Mathexpert457" "uid=1000" "x-systemd.automount" "noauto"];
};
fileSystems."/mnt/dump" = {
device = "//atlantis.local/dump";
fsType = "cifs";
options = [ "username=bchu" "password=Mathexpert457" "uid=1000" "x-systemd.automount" "noauto"];
};
fileSystems."/mnt/puppet_recordings" = {
device = "//atlantis.local/Puppet Recordings";
fsType = "cifs";
options = [ "username=bchu" "password=Mathexpert457" "uid=1000" "x-systemd.automount" "noauto"];
};
} }

@ -1 +1 @@
Subproject commit 69ed4fe876144b2d8cd3fc7edeaa7a4c98b0616d Subproject commit ae7e236072bcc0fc7d7bd3ca58bc0ad5cff0fdd2

View file

@ -9,9 +9,6 @@ let
(lib.warn ("Didn't set 'my.flakeLocation', " + errorMsg) true))) (lib.warn ("Didn't set 'my.flakeLocation', " + errorMsg) true)))
value); value);
flakeSubmodules = "${config.my.flakeLocation}/submodules"; flakeSubmodules = "${config.my.flakeLocation}/submodules";
getPath = (file: if true # config.my.flakeLocation != null
then config.lib.file.mkOutOfStoreSymlink "${file}"
else ./. + file);
in in
{ {
options = { options = {
@ -55,10 +52,18 @@ in
# recursive = true; # recursive = true;
}); });
"beets/plugins/" = (mkIfFlakeLoc beets-cfg.enable
"I won't symlink beets' plugins directory into place"
{
source = config.lib.file.mkOutOfStoreSymlink
"${flakeSubmodules}/beets-config/plugins/";
});
"tmux/tmux.conf" = (mkIfFlakeLoc tmux-cfg.enable "tmux/tmux.conf" = (mkIfFlakeLoc tmux-cfg.enable
"I won't symlink tmux's tmux.conf into place" "I won't symlink tmux's tmux.conf into place"
{ {
source = getPath "${flakeSubmodules}/tmux-config/tmux.conf"; source = config.lib.file.mkOutOfStoreSymlink
"${flakeSubmodules}/tmux-config/tmux.conf";
}); });
"wezterm/" = (mkIfFlakeLoc beets-cfg.enable "wezterm/" = (mkIfFlakeLoc beets-cfg.enable