Compare commits
20 Commits
1c5cae9af4
...
57a8e90361
| Author | SHA1 | Date | |
|---|---|---|---|
| 57a8e90361 | |||
| 62e535f344 | |||
| 7fa73b8cb8 | |||
| 8a2e4e275f | |||
| 85e8feda05 | |||
| 6e75d84e0a | |||
| 54934453ac | |||
| 1aa107ed6c | |||
| 2655e9982c | |||
| 557e0f0bd0 | |||
| 91bd15c5c6 | |||
| a70c1a3654 | |||
| 6d7e3af100 | |||
| 586ad8519e | |||
| 7173535d77 | |||
| 8c721c7d30 | |||
| 5809269e0d | |||
| d2eb0e542f | |||
| eb4887b75c | |||
| 8cee898866 |
@@ -16,7 +16,7 @@ Machines
|
|||||||
To-Do List
|
To-Do List
|
||||||
|
|
||||||
[ ] Finish porting features from nixy's previous setup and get them working on lappy: impermanence.
|
[ ] Finish porting features from nixy's previous setup and get them working on lappy: impermanence.
|
||||||
[ ] Set up declarative Discord setup with nixcord and plugins.
|
[ ] Set up declarative Discord setup with nixcord and plugins (broken upstream currently).
|
||||||
[ ] Figure out how to set up sops-nix with user passwords properly.
|
[ ] Figure out how to set up sops-nix with user passwords properly.
|
||||||
[X] Fully setup private git repository for secrets.
|
[X] Fully setup private git repository for secrets.
|
||||||
[X] Integrate private git repository into nixverse setup.
|
[X] Integrate private git repository into nixverse setup.
|
||||||
|
|||||||
41
flake.lock
generated
41
flake.lock
generated
@@ -381,11 +381,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752890591,
|
"lastModified": 1752832532,
|
||||||
"narHash": "sha256-zvJs+RxrYWoPt4w3+e4H9PGOvsKVgqGDMpmZjZStLVw=",
|
"narHash": "sha256-YvQ6sjTxS+cw+w8fhEL41vAC28q4sB0vT77uhzQ1eOA=",
|
||||||
"owner": "fufexan",
|
"owner": "fufexan",
|
||||||
"repo": "nix-gaming",
|
"repo": "nix-gaming",
|
||||||
"rev": "e68cf458c6644ad07a8fc9d762b843e192efe966",
|
"rev": "4e113d7f833a78a54a35dfc5514a89e5e7c78d4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -549,29 +549,13 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable-nixos": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1752900028,
|
|
||||||
"narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752900028,
|
"lastModified": 1752747119,
|
||||||
"narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
|
"narHash": "sha256-2Kp9St3Pbsmu+xMsobLcgzzUxPvZR7alVJWyuk2BAPc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
|
"rev": "fa0ef8a6bb1651aa26c939aeb51b5f499e86b0ec",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -588,11 +572,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752926550,
|
"lastModified": 1751773294,
|
||||||
"narHash": "sha256-ueLoy/+iEWji4gSkUa31Me/Qxes4Iq5fCWieU3WhLwQ=",
|
"narHash": "sha256-7SOb5tc8FARZHUBr8HeCO5016lpiG+S1qugQQdXzF/w=",
|
||||||
"owner": "hgl",
|
"owner": "hgl",
|
||||||
"repo": "nixverse",
|
"repo": "nixverse",
|
||||||
"rev": "9052dd42c579657cd89a8c26316424cd77488ace",
|
"rev": "084a07f43829857fc760e70212c497d2f40eaa3c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -638,7 +622,6 @@
|
|||||||
"nixos-hardware-stable-nixos": "nixos-hardware-stable-nixos",
|
"nixos-hardware-stable-nixos": "nixos-hardware-stable-nixos",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-stable-nixos": "nixpkgs-stable-nixos",
|
"nixpkgs-stable-nixos": "nixpkgs-stable-nixos",
|
||||||
"nixpkgs-unstable-nixos": "nixpkgs-unstable-nixos",
|
|
||||||
"nixverse": "nixverse",
|
"nixverse": "nixverse",
|
||||||
"sops-nix-stable-nixos": "sops-nix-stable-nixos",
|
"sops-nix-stable-nixos": "sops-nix-stable-nixos",
|
||||||
"stylix-stable-nixos": "stylix-stable-nixos",
|
"stylix-stable-nixos": "stylix-stable-nixos",
|
||||||
@@ -686,11 +669,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752962561,
|
"lastModified": 1752752240,
|
||||||
"narHash": "sha256-45R7e+u63LcrSuq/zseu6aWdzwmxr06pR89JRJ0XJdM=",
|
"narHash": "sha256-qSQ6oIJeIb5MX6LRszgqQYB46FOHemKrvrdzf2u+uxM=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "249f2686ea8a3452ec102f3754f97e238e55af18",
|
"rev": "40f40bda4269f6e5490c25975069dc61aede6d52",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
self.submodules = true;
|
self.submodules = true;
|
||||||
nixpkgs-stable-nixos.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs-stable-nixos.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-unstable-nixos.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
||||||
nixverse = {
|
nixverse = {
|
||||||
url = "github:hgl/nixverse";
|
url = "github:hgl/nixverse";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-stable-nixos";
|
inputs.nixpkgs.follows = "nixpkgs-stable-nixos";
|
||||||
|
|||||||
@@ -88,8 +88,8 @@
|
|||||||
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
|
",XF86MonBrightnessUp, exec, brightnessctl s 5%+"
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindl = [
|
bindl = [
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
pkgs.protonup-qt
|
pkgs.protonup-qt
|
||||||
pkgs.wineWowPackages.stable
|
pkgs.wineWowPackages.stable
|
||||||
pkgs.winetricks
|
pkgs.winetricks
|
||||||
pkgs-unstable.nero-umu
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,10 @@
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
|
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
|
||||||
|
./programs/brightnessctl.nix
|
||||||
|
./programs/fwupd.nix
|
||||||
|
./programs/powertop.nix
|
||||||
./programs/sof-firmware.nix
|
./programs/sof-firmware.nix
|
||||||
# Not working yet.
|
|
||||||
./services/fprintd.nix
|
./services/fprintd.nix
|
||||||
./services/touchpad.nix
|
./services/touchpad.nix
|
||||||
./system/bootloader.nix
|
./system/bootloader.nix
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
settings = {
|
settings = {
|
||||||
"monitor" = "eDP-1, 2880x1800@120, 0x0, 1";
|
"monitor" = "eDP-1, 2560x1600@60, 0x0, 1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
6
nodes/hosts/nixwork/programs/brightnessctl.nix
Normal file
6
nodes/hosts/nixwork/programs/brightnessctl.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.brightnessctl
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
4
nodes/hosts/nixwork/programs/fwupd.nix
Normal file
4
nodes/hosts/nixwork/programs/fwupd.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{ ... }: {
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
6
nodes/hosts/nixwork/programs/powertop.nix
Normal file
6
nodes/hosts/nixwork/programs/powertop.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.powertop
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
3
nodes/hosts/nixwork/services/powerprofiles.nix
Normal file
3
nodes/hosts/nixwork/services/powerprofiles.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{ ... }: {
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
|
}
|
||||||
6
nodes/hosts/nixwork/services/udevrules.nix
Normal file
6
nodes/hosts/nixwork/services/udevrules.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }: {
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", ATTR{power/wakeup}="disabled", ATTR{driver/1-1.1.1.4/power/wakeup}="disabled"
|
||||||
|
SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0014", ATTR{power/wakeup}="disabled", ATTR{driver/1-1.1.1.4/power/wakeup}="disabled"
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -7,7 +7,8 @@
|
|||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
|
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
|
||||||
extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
|
extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
|
||||||
|
kernelParams = [ "amdgpu.abmlevel=0" ];
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
|
|
||||||
# OLD CONFIG
|
# OLD CONFIG
|
||||||
@@ -48,5 +49,7 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.framework.enableKmod = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
networking.hostName = "lappy"; # Define your hostname.
|
networking.hostName = "nixwork"; # Define your hostname.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
private
2
private
Submodule private updated: 7d635d0d2f...c91ae3eb5c
Reference in New Issue
Block a user