authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-07-05 20:35:03-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-07-05 20:35:03-07:00
loge6df94da34173479bbe43e8a3035538c0493d396
tree0061054bc9b59f75c286ec0bf11413139a0fa642
parentdb93fc5149f66cced9e045cdc2be8ca4926fecc9
parentb808a79ab266c85d48e757406b89d06b29f51f03
signature Commit is signed but in an unrecognized format.

Merge branch 'main' of paperclover.dev:nix/config


5 files changed, 43 insertions(+), 31 deletions(-)

flake.nix-3
......@@ -150,9 +150,6 @@
150150 user = "julia";
151151 host = "cattop";
152152 system = "x86_64-linux";
153 extraModules = [
154 nixos-cosmic.nixosModules.default
155 ];
156153 };
157154
158155 # generate checks for "nix flake check --all-systems --no-build"
modules/nixos/services.nix-4
......@@ -22,10 +22,6 @@
2222 };
2323 };
2424
25 desktopManager.cosmic.enable = true;
26 displayManager.cosmic-greeter.enable = true;
27 desktopManager.cosmic.xwayland.enable = true;
28
2925 # Auto mount devices
3026 udisks2 = {
3127 enable = true;
switch+7-7
......@@ -1,12 +1,12 @@
11#!/bin/sh
22nh_subcommand="os"
33fallback_command="nixos-rebuild"
4if [ "$(uname -o)" ]; then
5 nh_subcommand="darwin"
6 fallback_command="nix run .#darwin-rebuild"
7fi;
8if command -v nh > /dev/null; then
9 nh $nh_subcommand switch .
4if [ "$(uname -o)" = "darwin" ]; then
5 nh_subcommand="darwin"
6 fallback_command="nix run .#darwin-rebuild"
7fi
8if command -v nh >/dev/null; then
9 nh $nh_subcommand switch .
1010else
11 $fallback_command -- switch --flake .
11 $fallback_command -- switch --flake .
1212fi
users/julia/cattop/hardware-configuration.nix+31-17
......@@ -1,32 +1,46 @@
11# Do not modify this file! It was generated by ‘nixos-generate-config’
22# and may be overwritten by future invocations. Please make changes
33# to /etc/nixos/configuration.nix instead.
4{ config, lib, pkgs, modulesPath, ... }:
4{
5 config,
6 lib,
7 pkgs,
8 modulesPath,
9 ...
10}:
511
612{
7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix")
9 ];
13 imports = [
14 (modulesPath + "/installer/scan/not-detected.nix")
15 ];
1016
11 boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" ];
17 boot.initrd.availableKernelModules = [
18 "xhci_pci"
19 "thunderbolt"
20 "vmd"
21 "nvme"
22 ];
1223 boot.initrd.kernelModules = [ ];
1324 boot.kernelModules = [ "kvm-intel" ];
1425 boot.extraModulePackages = [ ];
1526
16 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/8eb0d6a2-b8cf-4ef2-ba2a-e25a5555b0bc";
18 fsType = "ext4";
19 };
27 fileSystems."/" = {
28 device = "/dev/disk/by-uuid/8eb0d6a2-b8cf-4ef2-ba2a-e25a5555b0bc";
29 fsType = "ext4";
30 };
2031
21 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/3B51-4A1C";
23 fsType = "vfat";
24 options = [ "fmask=0077" "dmask=0077" ];
25 };
26
27 swapDevices =
28 [ { device = "/dev/disk/by-uuid/58ee9d19-292f-49b5-9979-341b42e8e09d"; }
32 fileSystems."/boot/efi" = {
33 device = "/dev/disk/by-uuid/3B51-4A1C";
34 fsType = "vfat";
35 options = [
36 "fmask=0077"
37 "dmask=0077"
2938 ];
39 };
40
41 swapDevices = [
42 { device = "/dev/disk/by-uuid/58ee9d19-292f-49b5-9979-341b42e8e09d"; }
43 ];
3044
3145 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
3246 # (the default) this is the recommended approach. When using systemd-networkd it's
users/natalie/desktop/configuration.nix+5
......@@ -121,6 +121,11 @@
121121
122122 # Enable sound with pipewire.
123123 security.rtkit.enable = true;
124 services = {
125 desktopManager.cosmic.enable = true;
126 displayManager.cosmic-greeter.enable = true;
127 desktopManager.cosmic.xwayland.enable = true;
128 };
124129
125130 # Enable touchpad support (enabled default in most desktopManager).
126131 # services.xserver.libinput.enable = true;