Compare commits
4 commits
e768957dcd
...
bece2483fe
Author | SHA1 | Date | |
---|---|---|---|
bece2483fe | |||
56f3846afe | |||
24ce626020 | |||
dd79089897 |
5 changed files with 80 additions and 20 deletions
|
@ -34,6 +34,7 @@
|
|||
./nixos/machines/tides/machine.nix
|
||||
./home-manager/machines/wsl/home.nix
|
||||
./home-manager/machines/crash/home.nix
|
||||
./home-manager/machines/tides/home.nix
|
||||
./devshells/rust.nix
|
||||
./devshells/idris2.nix
|
||||
./devshells/raku.nix
|
||||
|
|
54
home-manager/machines/tides/home.nix
Normal file
54
home-manager/machines/tides/home.nix
Normal 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; [
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
);
|
||||
}
|
|
@ -1,30 +1,34 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "virtio_scsi"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/9119-BB6A";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9119-BB6A";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# 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
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}: {
|
||||
# perSystem = { ... }: { config.packages.hello = ...; };
|
||||
|
||||
flake.nixosConfigurations.crash = withSystem "aarch64-linux" (
|
||||
flake.nixosConfigurations.tides = withSystem "aarch64-linux" (
|
||||
ctx @ {
|
||||
config,
|
||||
inputs',
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
nix-index
|
||||
curl
|
||||
wget
|
||||
just
|
||||
];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
|
Loading…
Add table
Reference in a new issue