Compare commits

..

4 commits

Author SHA1 Message Date
bece2483fe Format 2025-02-12 01:57:45 -05:00
56f3846afe Add tides home manager 2025-02-12 01:56:59 -05:00
24ce626020 oops 2025-02-12 01:55:09 -05:00
dd79089897 Add just 2025-02-12 01:52:39 -05:00
5 changed files with 80 additions and 20 deletions

View file

@ -34,6 +34,7 @@
./nixos/machines/tides/machine.nix ./nixos/machines/tides/machine.nix
./home-manager/machines/wsl/home.nix ./home-manager/machines/wsl/home.nix
./home-manager/machines/crash/home.nix ./home-manager/machines/crash/home.nix
./home-manager/machines/tides/home.nix
./devshells/rust.nix ./devshells/rust.nix
./devshells/idris2.nix ./devshells/idris2.nix
./devshells/raku.nix ./devshells/raku.nix

View file

@ -0,0 +1,54 @@
{
withSystem,
inputs,
...
}: {
# perSystem = { ... }: { config.packages.hello = ...; };
flake.homeConfigurations.tides = withSystem "tides-linux" (
ctx @ {
config,
inputs',
...
}:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.${"x86_64-linux"};
extraSpecialArgs = {
inherit inputs inputs';
packages = config.packages;
};
modules = [
(
{
config,
lib,
pkgs,
...
}: {
imports = [
../../modules/programs/shell.nix
../../modules/programs/neovim.nix
(import ../../modules/programs/git.nix {})
../../modules/programs/core.nix
../../modules/programs/ssh.nix
];
home.username = "nathan";
home.homeDirectory = "/home/nathan/";
programs.command-not-found.enable = true;
home.stateVersion = "24.11";
programs.home-manager.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Machine specific configuration
services.emacs.defaultEditor = true;
home.packages = with pkgs; [
];
}
)
];
}
);
}

View file

@ -1,30 +1,34 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/profiles/qemu-guest.nix") lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ]; boot.initrd.availableKernelModules = ["xhci_pci" "virtio_scsi"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [];
boot.kernelModules = [ ]; boot.kernelModules = [];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5"; device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/9119-BB6A"; device = "/dev/disk/by-uuid/9119-BB6A";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = ["fmask=0022" "dmask=0022"];
}; };
swapDevices = [ ]; swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -5,7 +5,7 @@
}: { }: {
# perSystem = { ... }: { config.packages.hello = ...; }; # perSystem = { ... }: { config.packages.hello = ...; };
flake.nixosConfigurations.crash = withSystem "aarch64-linux" ( flake.nixosConfigurations.tides = withSystem "aarch64-linux" (
ctx @ { ctx @ {
config, config,
inputs', inputs',

View file

@ -21,6 +21,7 @@
nix-index nix-index
curl curl
wget wget
just
]; ];
system.stateVersion = "24.11"; system.stateVersion = "24.11";