Compare commits
54
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91c5379c9b | ||
|
|
3f685a78c3 | ||
|
|
30992acc2c | ||
|
|
2155d226ff | ||
|
|
7701d8e8c8 | ||
|
|
86be8033ce | ||
|
|
52c7509bb7 | ||
|
|
1786ba9062 | ||
|
|
eb7e5fd0cc | ||
|
|
af1c78bbe7 | ||
|
|
56dfe3b692 | ||
|
|
a5974585e2 | ||
|
|
e0c73eb642 | ||
|
|
0446de16a5 | ||
|
|
8b67f93967 | ||
|
|
bb53edd27b | ||
|
|
843fca49fe | ||
|
|
1aac2a487c | ||
|
|
3de7ac9f14 | ||
|
|
45c06680ce | ||
|
|
a8f4ad0a86 | ||
|
|
8e5fa83a3e | ||
|
|
71627c9e11 | ||
|
|
f9698ba7d3 | ||
|
|
95f4292270 | ||
|
|
4ce34f6031 | ||
|
|
ead5e73282 | ||
|
|
3c4d0bb61d | ||
|
|
561854558f | ||
|
|
134f9921e3 | ||
|
|
429bfa6a81 | ||
|
|
255ffad672 | ||
|
|
d5f0b24bbb | ||
|
|
bc63ba93ef | ||
|
|
d7727812ec | ||
|
|
d944de4611 | ||
|
|
2aeb811bdb | ||
|
|
d0dc9b12e5 | ||
|
|
f70623e865 | ||
|
|
a49524da88 | ||
|
|
d649aed4d6 | ||
|
|
3807472d1e | ||
|
|
1ed67f9cda | ||
|
|
6ab04b11d9 | ||
|
|
21069d519c | ||
|
|
013d308de8 | ||
|
|
b238cfe3f4 | ||
|
|
8d912625f5 | ||
|
|
861fad71f1 | ||
|
|
b847179625 | ||
|
|
e57d09e66b | ||
|
|
c49fe8e2d9 | ||
|
|
970bc466e3 | ||
|
|
949229f978 |
@@ -2,11 +2,13 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
imports = [inputs.stylix.nixosModules.stylix];
|
{
|
||||||
|
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||||
|
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||||
|
stylix.targets.gtksourceview.enable = false; # otherwise inkspace is recompiled every time
|
||||||
|
|
||||||
stylix.fonts = {
|
stylix.fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
|
|||||||
Generated
+747
-172
File diff suppressed because it is too large
Load Diff
@@ -67,7 +67,7 @@ in {
|
|||||||
# neocmakelsp # cmake
|
# neocmakelsp # cmake
|
||||||
|
|
||||||
emacs-all-the-icons-fonts
|
emacs-all-the-icons-fonts
|
||||||
frajul.typst-languagetool
|
# frajul.typst-languagetool
|
||||||
ltex-ls-plus
|
ltex-ls-plus
|
||||||
|
|
||||||
(texlive.combine {
|
(texlive.combine {
|
||||||
|
|||||||
@@ -67,14 +67,28 @@ with lib; {
|
|||||||
cd $argv
|
cd $argv
|
||||||
'';
|
'';
|
||||||
run = ''
|
run = ''
|
||||||
nix run --impure nixpkgs#"$argv[1]" -- $argv[2..-1]
|
set -l channel nixpkgs
|
||||||
|
|
||||||
|
if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
|
||||||
|
set channel github:NixOS/nixpkgs/nixpkgs-unstable
|
||||||
|
set -e argv[1]
|
||||||
|
end
|
||||||
|
nix run --impure $channel#"$argv[1]" -- $argv[2..-1]
|
||||||
'';
|
'';
|
||||||
shell = ''
|
shell = ''
|
||||||
set args
|
set -l channel nixpkgs
|
||||||
for arg in $argv
|
|
||||||
set args $args nixpkgs#$arg
|
if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
|
||||||
|
set channel github:NixOS/nixpkgs/nixpkgs-unstable
|
||||||
|
set -e argv[1]
|
||||||
end
|
end
|
||||||
nix shell --impure $args
|
|
||||||
|
set -l packages
|
||||||
|
for arg in $argv
|
||||||
|
set -a packages $channel#$arg
|
||||||
|
end
|
||||||
|
|
||||||
|
nix shell --impure $packages
|
||||||
'';
|
'';
|
||||||
fish_user_key_bindings = ''
|
fish_user_key_bindings = ''
|
||||||
bind ctrl-space 'zi; commandline -f repaint'
|
bind ctrl-space 'zi; commandline -f repaint'
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
./waypipe.nix
|
./waypipe.nix
|
||||||
|
|
||||||
# ./hyprbars.nix
|
# ./hyprbars.nix
|
||||||
# inputs.noctalia.homeModules.default # Use for latest version from inputs
|
inputs.noctalia.homeModules.default # Use for latest version from inputs
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
@@ -40,16 +40,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# noctalia-shell ipc call state all | jq .settings | xclip
|
# noctalia-shell ipc call state all | jq .settings | xclip
|
||||||
xdg.configFile."noctalia/settings.json".source = ./noctalia.json;
|
# xdg.configFile."noctalia/settings.json".source = ./noctalia.json;
|
||||||
|
|
||||||
# programs.noctalia = {
|
programs.noctalia = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# # noctalia config export full > noctalia.toml
|
# noctalia config export full > noctalia.toml
|
||||||
# settings = ./noctalia.toml;
|
settings = ./noctalia.toml;
|
||||||
# };
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
unstable.noctalia-shell # Use for stable version instead of latest from the input
|
|
||||||
hyprpicker
|
hyprpicker
|
||||||
hyprcursor
|
hyprcursor
|
||||||
brightnessctl
|
brightnessctl
|
||||||
@@ -89,6 +88,7 @@
|
|||||||
MOZ_ENABLE_WAYLAND = 1;
|
MOZ_ENABLE_WAYLAND = 1;
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
LIBSEAT_BACKEND = "logind";
|
LIBSEAT_BACKEND = "logind";
|
||||||
|
NIXOS_OZONE_WL = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.network-manager-applet.enable = true;
|
services.network-manager-applet.enable = true;
|
||||||
@@ -104,8 +104,7 @@
|
|||||||
local terminal = "${config.terminal}"
|
local terminal = "${config.terminal}"
|
||||||
local fileManager = "pcmanfm"
|
local fileManager = "pcmanfm"
|
||||||
-- local menu = "wofi --show drun,run"
|
-- local menu = "wofi --show drun,run"
|
||||||
-- local menu = "noctalia msg panel-toggle launcher"
|
local menu = "noctalia msg panel-toggle launcher"
|
||||||
local menu = "noctalia-shell ipc call launcher toggle"
|
|
||||||
local calculator = "qalculate-gtk"
|
local calculator = "qalculate-gtk"
|
||||||
local browser = "firefox"
|
local browser = "firefox"
|
||||||
local editor = "emacs"
|
local editor = "emacs"
|
||||||
@@ -115,7 +114,7 @@
|
|||||||
+ "-- Monitor config\n"
|
+ "-- Monitor config\n"
|
||||||
+ lib.concatStringsSep "\n" (
|
+ lib.concatStringsSep "\n" (
|
||||||
map (
|
map (
|
||||||
monitor: "hl.monitor({ output = \"${monitor.name}\", mode = \"preferred\", position = \"auto\", scale = \"auto\", mirror = \"\"})"
|
monitor: "hl.monitor({ output = \"${monitor.name}\", mode = \"${toString monitor.width}x${toString monitor.height}@${toString monitor.refreshRate}\", position = \"${monitor.position}\", scale = \"auto\", mirror = \"\"})"
|
||||||
)
|
)
|
||||||
config.monitors
|
config.monitors
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
-- See https://wiki.hypr.land/Configuring/Basics/Autostart/
|
-- See https://wiki.hypr.land/Configuring/Basics/Autostart/
|
||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
-- hl.exec_cmd("waybar")
|
-- hl.exec_cmd("waybar")
|
||||||
hl.exec_cmd("env QT_QPA_PLATFORMTHEME=qt5ct noctalia-shell") -- env ensures noctalia works alongside kde
|
hl.exec_cmd("env QT_QPA_PLATFORMTHEME=qt5ct noctalia") -- env ensures noctalia works alongside kde
|
||||||
hl.exec_cmd("firefox")
|
hl.exec_cmd("firefox")
|
||||||
hl.exec_cmd("fcitx5 -d -r")
|
hl.exec_cmd("fcitx5 -d -r")
|
||||||
end)
|
end)
|
||||||
@@ -150,6 +150,13 @@ hl.bind(mainMod .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload"))
|
|||||||
hl.bind(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
|
hl.bind(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
|
||||||
hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
|
hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
|
||||||
hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("toggle-screen-mirroring; correct-workspace-locations"))
|
hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("toggle-screen-mirroring; correct-workspace-locations"))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + P", function()
|
||||||
|
hl.device({
|
||||||
|
name = "wacom-one-by-wacom-m-pen",
|
||||||
|
output = hl.get_active_monitor().name
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
-- hyprctl eval 'hl.device({ name = "wacom-one-by-wacom-m-pen", output = hl.get_active_monitor().name })'
|
||||||
hl.bind(mainMod .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize"))
|
hl.bind(mainMod .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize"))
|
||||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss"))
|
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss"))
|
||||||
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))
|
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))
|
||||||
|
|||||||
@@ -1,646 +0,0 @@
|
|||||||
{
|
|
||||||
"settingsVersion": 59,
|
|
||||||
"bar": {
|
|
||||||
"barType": "simple",
|
|
||||||
"position": "bottom",
|
|
||||||
"monitors": [],
|
|
||||||
"density": "default",
|
|
||||||
"showOutline": false,
|
|
||||||
"showCapsule": false,
|
|
||||||
"capsuleOpacity": 1,
|
|
||||||
"capsuleColorKey": "none",
|
|
||||||
"widgetSpacing": 6,
|
|
||||||
"contentPadding": 2,
|
|
||||||
"fontScale": 1,
|
|
||||||
"enableExclusionZoneInset": false,
|
|
||||||
"backgroundOpacity": 1,
|
|
||||||
"useSeparateOpacity": false,
|
|
||||||
"marginVertical": 4,
|
|
||||||
"marginHorizontal": 4,
|
|
||||||
"frameThickness": 8,
|
|
||||||
"frameRadius": 12,
|
|
||||||
"outerCorners": false,
|
|
||||||
"hideOnOverview": false,
|
|
||||||
"displayMode": "always_visible",
|
|
||||||
"autoHideDelay": 500,
|
|
||||||
"autoShowDelay": 150,
|
|
||||||
"showOnWorkspaceSwitch": true,
|
|
||||||
"widgets": {
|
|
||||||
"left": [
|
|
||||||
{
|
|
||||||
"characterCount": 2,
|
|
||||||
"colorizeIcons": false,
|
|
||||||
"emptyColor": "secondary",
|
|
||||||
"enableScrollWheel": true,
|
|
||||||
"focusedColor": "primary",
|
|
||||||
"followFocusedScreen": false,
|
|
||||||
"fontWeight": "bold",
|
|
||||||
"groupedBorderOpacity": 1,
|
|
||||||
"hideUnoccupied": false,
|
|
||||||
"iconScale": 0.8,
|
|
||||||
"id": "Workspace",
|
|
||||||
"labelMode": "index",
|
|
||||||
"occupiedColor": "secondary",
|
|
||||||
"pillSize": 0.8,
|
|
||||||
"showApplications": false,
|
|
||||||
"showApplicationsHover": false,
|
|
||||||
"showBadge": true,
|
|
||||||
"showLabelsOnlyWhenOccupied": false,
|
|
||||||
"unfocusedIconsOpacity": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"center": [],
|
|
||||||
"right": [
|
|
||||||
{
|
|
||||||
"compactMode": false,
|
|
||||||
"diskPath": "/",
|
|
||||||
"iconColor": "none",
|
|
||||||
"id": "SystemMonitor",
|
|
||||||
"showCpuCores": false,
|
|
||||||
"showCpuFreq": false,
|
|
||||||
"showCpuTemp": false,
|
|
||||||
"showCpuUsage": true,
|
|
||||||
"showDiskAvailable": true,
|
|
||||||
"showDiskUsage": true,
|
|
||||||
"showDiskUsageAsPercent": false,
|
|
||||||
"showGpuTemp": false,
|
|
||||||
"showLoadAverage": false,
|
|
||||||
"showMemoryAsPercent": true,
|
|
||||||
"showMemoryUsage": true,
|
|
||||||
"showNetworkStats": false,
|
|
||||||
"showSwapUsage": false,
|
|
||||||
"textColor": "none",
|
|
||||||
"useMonospaceFont": true,
|
|
||||||
"usePadding": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"compactMode": false,
|
|
||||||
"diskPath": "/",
|
|
||||||
"iconColor": "none",
|
|
||||||
"id": "SystemMonitor",
|
|
||||||
"showCpuCores": false,
|
|
||||||
"showCpuFreq": false,
|
|
||||||
"showCpuTemp": false,
|
|
||||||
"showCpuUsage": false,
|
|
||||||
"showDiskAvailable": false,
|
|
||||||
"showDiskUsage": false,
|
|
||||||
"showDiskUsageAsPercent": false,
|
|
||||||
"showGpuTemp": false,
|
|
||||||
"showLoadAverage": false,
|
|
||||||
"showMemoryAsPercent": false,
|
|
||||||
"showMemoryUsage": false,
|
|
||||||
"showNetworkStats": true,
|
|
||||||
"showSwapUsage": false,
|
|
||||||
"textColor": "none",
|
|
||||||
"useMonospaceFont": true,
|
|
||||||
"usePadding": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"displayMode": "alwaysShow",
|
|
||||||
"iconColor": "none",
|
|
||||||
"id": "Volume",
|
|
||||||
"middleClickCommand": "pwvucontrol || pavucontrol",
|
|
||||||
"textColor": "none"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"deviceNativePath": "__default__",
|
|
||||||
"displayMode": "graphic-clean",
|
|
||||||
"hideIfIdle": false,
|
|
||||||
"hideIfNotDetected": true,
|
|
||||||
"id": "Battery",
|
|
||||||
"showNoctaliaPerformance": false,
|
|
||||||
"showPowerProfiles": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"clockColor": "none",
|
|
||||||
"customFont": "",
|
|
||||||
"formatHorizontal": "ddd, dd.MM. HH:mm:ss",
|
|
||||||
"formatVertical": "HH mm - dd MM",
|
|
||||||
"id": "Clock",
|
|
||||||
"tooltipFormat": "HH:mm ddd, MMM dd",
|
|
||||||
"useCustomFont": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blacklist": [],
|
|
||||||
"chevronColor": "none",
|
|
||||||
"colorizeIcons": false,
|
|
||||||
"drawerEnabled": false,
|
|
||||||
"hidePassive": false,
|
|
||||||
"id": "Tray",
|
|
||||||
"pinned": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"mouseWheelAction": "workspace",
|
|
||||||
"reverseScroll": false,
|
|
||||||
"mouseWheelWrap": true,
|
|
||||||
"middleClickAction": "launcherPanel",
|
|
||||||
"middleClickFollowMouse": false,
|
|
||||||
"middleClickCommand": "",
|
|
||||||
"rightClickAction": "controlCenter",
|
|
||||||
"rightClickFollowMouse": true,
|
|
||||||
"rightClickCommand": "",
|
|
||||||
"screenOverrides": []
|
|
||||||
},
|
|
||||||
"general": {
|
|
||||||
"avatarImage": "/home/julian/.face",
|
|
||||||
"dimmerOpacity": 0.2,
|
|
||||||
"showScreenCorners": false,
|
|
||||||
"forceBlackScreenCorners": false,
|
|
||||||
"scaleRatio": 1,
|
|
||||||
"radiusRatio": 1,
|
|
||||||
"iRadiusRatio": 1,
|
|
||||||
"boxRadiusRatio": 1,
|
|
||||||
"screenRadiusRatio": 1,
|
|
||||||
"animationSpeed": 1,
|
|
||||||
"animationDisabled": false,
|
|
||||||
"compactLockScreen": false,
|
|
||||||
"lockScreenAnimations": false,
|
|
||||||
"lockOnSuspend": true,
|
|
||||||
"showSessionButtonsOnLockScreen": true,
|
|
||||||
"showHibernateOnLockScreen": false,
|
|
||||||
"enableLockScreenMediaControls": false,
|
|
||||||
"enableShadows": true,
|
|
||||||
"enableBlurBehind": true,
|
|
||||||
"shadowDirection": "bottom_right",
|
|
||||||
"shadowOffsetX": 2,
|
|
||||||
"shadowOffsetY": 3,
|
|
||||||
"language": "",
|
|
||||||
"allowPanelsOnScreenWithoutBar": true,
|
|
||||||
"showChangelogOnStartup": true,
|
|
||||||
"telemetryEnabled": false,
|
|
||||||
"enableLockScreenCountdown": false,
|
|
||||||
"lockScreenCountdownDuration": 10000,
|
|
||||||
"autoStartAuth": false,
|
|
||||||
"allowPasswordWithFprintd": false,
|
|
||||||
"clockStyle": "custom",
|
|
||||||
"clockFormat": "hh\\nmm",
|
|
||||||
"passwordChars": false,
|
|
||||||
"lockScreenMonitors": [],
|
|
||||||
"lockScreenBlur": 0,
|
|
||||||
"lockScreenTint": 0,
|
|
||||||
"keybinds": {
|
|
||||||
"keyUp": [
|
|
||||||
"Up"
|
|
||||||
],
|
|
||||||
"keyDown": [
|
|
||||||
"Down"
|
|
||||||
],
|
|
||||||
"keyLeft": [
|
|
||||||
"Left"
|
|
||||||
],
|
|
||||||
"keyRight": [
|
|
||||||
"Right"
|
|
||||||
],
|
|
||||||
"keyEnter": [
|
|
||||||
"Return",
|
|
||||||
"Enter"
|
|
||||||
],
|
|
||||||
"keyEscape": [
|
|
||||||
"Esc"
|
|
||||||
],
|
|
||||||
"keyRemove": [
|
|
||||||
"Del"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"reverseScroll": false,
|
|
||||||
"smoothScrollEnabled": true
|
|
||||||
},
|
|
||||||
"ui": {
|
|
||||||
"fontDefault": "DejaVu Sans",
|
|
||||||
"fontFixed": "DejaVu Sans Mono",
|
|
||||||
"fontDefaultScale": 1,
|
|
||||||
"fontFixedScale": 1,
|
|
||||||
"tooltipsEnabled": true,
|
|
||||||
"scrollbarAlwaysVisible": true,
|
|
||||||
"boxBorderEnabled": false,
|
|
||||||
"panelBackgroundOpacity": 1,
|
|
||||||
"translucentWidgets": false,
|
|
||||||
"panelsAttachedToBar": true,
|
|
||||||
"settingsPanelMode": "attached",
|
|
||||||
"settingsPanelSideBarCardStyle": false
|
|
||||||
},
|
|
||||||
"location": {
|
|
||||||
"name": "",
|
|
||||||
"weatherEnabled": true,
|
|
||||||
"weatherShowEffects": true,
|
|
||||||
"weatherTaliaMascotAlways": false,
|
|
||||||
"useFahrenheit": false,
|
|
||||||
"use12hourFormat": false,
|
|
||||||
"showWeekNumberInCalendar": false,
|
|
||||||
"showCalendarEvents": true,
|
|
||||||
"showCalendarWeather": true,
|
|
||||||
"analogClockInCalendar": false,
|
|
||||||
"firstDayOfWeek": -1,
|
|
||||||
"hideWeatherTimezone": false,
|
|
||||||
"hideWeatherCityName": false,
|
|
||||||
"autoLocate": false
|
|
||||||
},
|
|
||||||
"calendar": {
|
|
||||||
"cards": [
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "calendar-header-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "calendar-month-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "weather-card"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"wallpaper": {
|
|
||||||
"enabled": false,
|
|
||||||
"overviewEnabled": false,
|
|
||||||
"directory": "/home/julian/Pictures/Wallpapers",
|
|
||||||
"monitorDirectories": [],
|
|
||||||
"enableMultiMonitorDirectories": false,
|
|
||||||
"showHiddenFiles": false,
|
|
||||||
"viewMode": "single",
|
|
||||||
"setWallpaperOnAllMonitors": true,
|
|
||||||
"linkLightAndDarkWallpapers": true,
|
|
||||||
"fillMode": "crop",
|
|
||||||
"fillColor": "#000000",
|
|
||||||
"useSolidColor": false,
|
|
||||||
"solidColor": "#1a1a2e",
|
|
||||||
"automationEnabled": false,
|
|
||||||
"wallpaperChangeMode": "random",
|
|
||||||
"randomIntervalSec": 300,
|
|
||||||
"transitionDuration": 1500,
|
|
||||||
"transitionType": [
|
|
||||||
"fade",
|
|
||||||
"disc",
|
|
||||||
"stripes",
|
|
||||||
"wipe",
|
|
||||||
"pixelate",
|
|
||||||
"honeycomb"
|
|
||||||
],
|
|
||||||
"skipStartupTransition": false,
|
|
||||||
"transitionEdgeSmoothness": 0.05,
|
|
||||||
"panelPosition": "follow_bar",
|
|
||||||
"hideWallpaperFilenames": false,
|
|
||||||
"useOriginalImages": false,
|
|
||||||
"overviewBlur": 0.4,
|
|
||||||
"overviewTint": 0.6,
|
|
||||||
"useWallhaven": false,
|
|
||||||
"wallhavenQuery": "",
|
|
||||||
"wallhavenSorting": "relevance",
|
|
||||||
"wallhavenOrder": "desc",
|
|
||||||
"wallhavenCategories": "111",
|
|
||||||
"wallhavenPurity": "100",
|
|
||||||
"wallhavenRatios": "",
|
|
||||||
"wallhavenApiKey": "",
|
|
||||||
"wallhavenResolutionMode": "atleast",
|
|
||||||
"wallhavenResolutionWidth": "",
|
|
||||||
"wallhavenResolutionHeight": "",
|
|
||||||
"sortOrder": "name",
|
|
||||||
"favorites": []
|
|
||||||
},
|
|
||||||
"appLauncher": {
|
|
||||||
"enableClipboardHistory": false,
|
|
||||||
"autoPasteClipboard": false,
|
|
||||||
"enableClipPreview": true,
|
|
||||||
"clipboardWrapText": true,
|
|
||||||
"enableClipboardSmartIcons": true,
|
|
||||||
"enableClipboardChips": true,
|
|
||||||
"clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store",
|
|
||||||
"clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store",
|
|
||||||
"position": "center",
|
|
||||||
"pinnedApps": [],
|
|
||||||
"sortByMostUsed": true,
|
|
||||||
"terminalCommand": "alacritty -e",
|
|
||||||
"customLaunchPrefixEnabled": false,
|
|
||||||
"customLaunchPrefix": "",
|
|
||||||
"viewMode": "list",
|
|
||||||
"showCategories": true,
|
|
||||||
"iconMode": "tabler",
|
|
||||||
"showIconBackground": false,
|
|
||||||
"enableSettingsSearch": true,
|
|
||||||
"enableWindowsSearch": true,
|
|
||||||
"enableSessionSearch": true,
|
|
||||||
"ignoreMouseInput": false,
|
|
||||||
"screenshotAnnotationTool": "",
|
|
||||||
"overviewLayer": false,
|
|
||||||
"density": "default"
|
|
||||||
},
|
|
||||||
"controlCenter": {
|
|
||||||
"position": "close_to_bar_button",
|
|
||||||
"diskPath": "/",
|
|
||||||
"shortcuts": {
|
|
||||||
"left": [
|
|
||||||
{
|
|
||||||
"id": "Network"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "Bluetooth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "WallpaperSelector"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "NoctaliaPerformance"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"right": [
|
|
||||||
{
|
|
||||||
"id": "Notifications"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "PowerProfile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "KeepAwake"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "NightLight"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"cards": [
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "profile-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "shortcuts-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "audio-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": false,
|
|
||||||
"id": "brightness-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"id": "weather-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"enabled": false,
|
|
||||||
"id": "media-sysmon-card"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"systemMonitor": {
|
|
||||||
"cpuWarningThreshold": 80,
|
|
||||||
"cpuCriticalThreshold": 90,
|
|
||||||
"tempWarningThreshold": 80,
|
|
||||||
"tempCriticalThreshold": 90,
|
|
||||||
"gpuWarningThreshold": 80,
|
|
||||||
"gpuCriticalThreshold": 90,
|
|
||||||
"memWarningThreshold": 80,
|
|
||||||
"memCriticalThreshold": 90,
|
|
||||||
"swapWarningThreshold": 80,
|
|
||||||
"swapCriticalThreshold": 90,
|
|
||||||
"diskWarningThreshold": 80,
|
|
||||||
"diskCriticalThreshold": 90,
|
|
||||||
"diskAvailWarningThreshold": 20,
|
|
||||||
"diskAvailCriticalThreshold": 10,
|
|
||||||
"batteryWarningThreshold": 20,
|
|
||||||
"batteryCriticalThreshold": 5,
|
|
||||||
"enableDgpuMonitoring": false,
|
|
||||||
"useCustomColors": false,
|
|
||||||
"warningColor": "",
|
|
||||||
"criticalColor": "",
|
|
||||||
"externalMonitor": "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor"
|
|
||||||
},
|
|
||||||
"noctaliaPerformance": {
|
|
||||||
"disableWallpaper": true,
|
|
||||||
"disableDesktopWidgets": true
|
|
||||||
},
|
|
||||||
"dock": {
|
|
||||||
"enabled": false,
|
|
||||||
"position": "bottom",
|
|
||||||
"displayMode": "auto_hide",
|
|
||||||
"dockType": "floating",
|
|
||||||
"backgroundOpacity": 1,
|
|
||||||
"floatingRatio": 1,
|
|
||||||
"size": 1,
|
|
||||||
"onlySameOutput": true,
|
|
||||||
"monitors": [],
|
|
||||||
"pinnedApps": [],
|
|
||||||
"colorizeIcons": false,
|
|
||||||
"showLauncherIcon": false,
|
|
||||||
"launcherPosition": "end",
|
|
||||||
"launcherUseDistroLogo": false,
|
|
||||||
"launcherIcon": "",
|
|
||||||
"launcherIconColor": "none",
|
|
||||||
"pinnedStatic": false,
|
|
||||||
"inactiveIndicators": false,
|
|
||||||
"groupApps": false,
|
|
||||||
"groupContextMenuMode": "extended",
|
|
||||||
"groupClickAction": "cycle",
|
|
||||||
"groupIndicatorStyle": "dots",
|
|
||||||
"deadOpacity": 0.6,
|
|
||||||
"animationSpeed": 1,
|
|
||||||
"sitOnFrame": false,
|
|
||||||
"showDockIndicator": false,
|
|
||||||
"indicatorThickness": 3,
|
|
||||||
"indicatorColor": "primary",
|
|
||||||
"indicatorOpacity": 0.6
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
"bluetoothRssiPollingEnabled": false,
|
|
||||||
"bluetoothRssiPollIntervalMs": 60000,
|
|
||||||
"networkPanelView": "wifi",
|
|
||||||
"wifiDetailsViewMode": "grid",
|
|
||||||
"bluetoothDetailsViewMode": "grid",
|
|
||||||
"bluetoothHideUnnamedDevices": false,
|
|
||||||
"disableDiscoverability": false,
|
|
||||||
"bluetoothAutoConnect": true
|
|
||||||
},
|
|
||||||
"sessionMenu": {
|
|
||||||
"enableCountdown": false,
|
|
||||||
"countdownDuration": 10000,
|
|
||||||
"position": "center",
|
|
||||||
"showHeader": true,
|
|
||||||
"showKeybinds": true,
|
|
||||||
"largeButtonsStyle": false,
|
|
||||||
"largeButtonsLayout": "single-row",
|
|
||||||
"powerOptions": [
|
|
||||||
{
|
|
||||||
"action": "lock",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": true,
|
|
||||||
"keybind": "1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "suspend",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": false,
|
|
||||||
"keybind": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "hibernate",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": false,
|
|
||||||
"keybind": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "reboot",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": true,
|
|
||||||
"keybind": "2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "logout",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": true,
|
|
||||||
"keybind": "3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "shutdown",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": true,
|
|
||||||
"keybind": "4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "rebootToUefi",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": false,
|
|
||||||
"keybind": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"action": "userspaceReboot",
|
|
||||||
"command": "",
|
|
||||||
"countdownEnabled": true,
|
|
||||||
"enabled": false,
|
|
||||||
"keybind": ""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notifications": {
|
|
||||||
"enabled": false,
|
|
||||||
"enableMarkdown": false,
|
|
||||||
"density": "default",
|
|
||||||
"monitors": [],
|
|
||||||
"location": "top_right",
|
|
||||||
"overlayLayer": true,
|
|
||||||
"backgroundOpacity": 1,
|
|
||||||
"respectExpireTimeout": false,
|
|
||||||
"lowUrgencyDuration": 3,
|
|
||||||
"normalUrgencyDuration": 8,
|
|
||||||
"criticalUrgencyDuration": 15,
|
|
||||||
"clearDismissed": true,
|
|
||||||
"saveToHistory": {
|
|
||||||
"low": true,
|
|
||||||
"normal": true,
|
|
||||||
"critical": true
|
|
||||||
},
|
|
||||||
"sounds": {
|
|
||||||
"enabled": false,
|
|
||||||
"volume": 0.5,
|
|
||||||
"separateSounds": false,
|
|
||||||
"criticalSoundFile": "",
|
|
||||||
"normalSoundFile": "",
|
|
||||||
"lowSoundFile": "",
|
|
||||||
"excludedApps": "discord,firefox,chrome,chromium,edge"
|
|
||||||
},
|
|
||||||
"enableMediaToast": false,
|
|
||||||
"enableKeyboardLayoutToast": true,
|
|
||||||
"enableBatteryToast": true
|
|
||||||
},
|
|
||||||
"osd": {
|
|
||||||
"enabled": true,
|
|
||||||
"location": "top_right",
|
|
||||||
"autoHideMs": 2000,
|
|
||||||
"overlayLayer": true,
|
|
||||||
"backgroundOpacity": 1,
|
|
||||||
"enabledTypes": [
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"monitors": []
|
|
||||||
},
|
|
||||||
"audio": {
|
|
||||||
"volumeStep": 5,
|
|
||||||
"volumeOverdrive": false,
|
|
||||||
"spectrumFrameRate": 30,
|
|
||||||
"visualizerType": "linear",
|
|
||||||
"spectrumMirrored": true,
|
|
||||||
"mprisBlacklist": [],
|
|
||||||
"preferredPlayer": "",
|
|
||||||
"volumeFeedback": false,
|
|
||||||
"volumeFeedbackSoundFile": ""
|
|
||||||
},
|
|
||||||
"brightness": {
|
|
||||||
"brightnessStep": 5,
|
|
||||||
"enforceMinimum": true,
|
|
||||||
"enableDdcSupport": false,
|
|
||||||
"backlightDeviceMappings": []
|
|
||||||
},
|
|
||||||
"colorSchemes": {
|
|
||||||
"useWallpaperColors": false,
|
|
||||||
"predefinedScheme": "Noctalia (default)",
|
|
||||||
"darkMode": true,
|
|
||||||
"schedulingMode": "off",
|
|
||||||
"manualSunrise": "06:30",
|
|
||||||
"manualSunset": "18:30",
|
|
||||||
"generationMethod": "tonal-spot",
|
|
||||||
"monitorForColors": "",
|
|
||||||
"syncGsettings": true
|
|
||||||
},
|
|
||||||
"templates": {
|
|
||||||
"activeTemplates": [],
|
|
||||||
"enableUserTheming": false
|
|
||||||
},
|
|
||||||
"nightLight": {
|
|
||||||
"enabled": true,
|
|
||||||
"forced": false,
|
|
||||||
"autoSchedule": true,
|
|
||||||
"nightTemp": "4000",
|
|
||||||
"dayTemp": "6500",
|
|
||||||
"manualSunrise": "06:30",
|
|
||||||
"manualSunset": "18:30"
|
|
||||||
},
|
|
||||||
"hooks": {
|
|
||||||
"enabled": false,
|
|
||||||
"wallpaperChange": "",
|
|
||||||
"darkModeChange": "",
|
|
||||||
"screenLock": "",
|
|
||||||
"screenUnlock": "",
|
|
||||||
"performanceModeEnabled": "",
|
|
||||||
"performanceModeDisabled": "",
|
|
||||||
"startup": "",
|
|
||||||
"session": "",
|
|
||||||
"colorGeneration": ""
|
|
||||||
},
|
|
||||||
"plugins": {
|
|
||||||
"autoUpdate": false,
|
|
||||||
"notifyUpdates": true
|
|
||||||
},
|
|
||||||
"idle": {
|
|
||||||
"enabled": false,
|
|
||||||
"screenOffTimeout": 600,
|
|
||||||
"lockTimeout": 660,
|
|
||||||
"suspendTimeout": 1800,
|
|
||||||
"fadeDuration": 5,
|
|
||||||
"screenOffCommand": "",
|
|
||||||
"lockCommand": "",
|
|
||||||
"suspendCommand": "",
|
|
||||||
"resumeScreenOffCommand": "",
|
|
||||||
"resumeLockCommand": "",
|
|
||||||
"resumeSuspendCommand": "",
|
|
||||||
"customCommands": "[]"
|
|
||||||
},
|
|
||||||
"desktopWidgets": {
|
|
||||||
"enabled": false,
|
|
||||||
"overviewEnabled": true,
|
|
||||||
"gridSnap": false,
|
|
||||||
"gridSnapScale": false,
|
|
||||||
"monitorWidgets": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
qpdfview
|
qpdfview
|
||||||
# qutebrowser
|
# qutebrowser
|
||||||
# realvnc-vnc-viewer
|
# realvnc-vnc-viewer
|
||||||
# rpi-imager # make isos
|
rpi-imager # make isos
|
||||||
# rustdesk
|
# rustdesk
|
||||||
tor-browser
|
tor-browser
|
||||||
rusty-path-of-building # Path of Building for poe1 and poe2
|
rusty-path-of-building # Path of Building for poe1 and poe2
|
||||||
@@ -70,6 +70,9 @@
|
|||||||
networkmanager-openvpn
|
networkmanager-openvpn
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
|
unstable.joplin-desktop
|
||||||
|
unstable.libation
|
||||||
|
|
||||||
## My scripts
|
## My scripts
|
||||||
frajul.open-messaging
|
frajul.open-messaging
|
||||||
frajul.xwacomcalibrate
|
frajul.xwacomcalibrate
|
||||||
|
|||||||
+31
-21
@@ -26,34 +26,44 @@
|
|||||||
is-nixos = true;
|
is-nixos = true;
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
|
|
||||||
# --------- ---------
|
# ---------- -------- ---------
|
||||||
# | DVI-D-1 | | DVI-D-2 |
|
# | HDMI-A-1 | | DP-1 | | DVI-D-1 |
|
||||||
# --------- ---------
|
# ---------- -------- ---------
|
||||||
monitors = [
|
monitors = [
|
||||||
{
|
{
|
||||||
name = "DVI-D-1";
|
name = "HDMI-A-1";
|
||||||
width = 1680;
|
width = 1920;
|
||||||
height = 1050;
|
height = 1080;
|
||||||
|
position = "0x0";
|
||||||
workspaces = [
|
workspaces = [
|
||||||
"1"
|
|
||||||
"2"
|
|
||||||
"3"
|
|
||||||
"4"
|
|
||||||
"5"
|
|
||||||
];
|
|
||||||
primary = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "DVI-D-2";
|
|
||||||
width = 1680;
|
|
||||||
height = 1050;
|
|
||||||
workspaces = [
|
|
||||||
"6"
|
|
||||||
"7"
|
|
||||||
"8"
|
"8"
|
||||||
"9"
|
"9"
|
||||||
"10"
|
"10"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "DP-1";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
position = "1920x0";
|
||||||
|
workspaces = [
|
||||||
|
"1"
|
||||||
|
"2"
|
||||||
|
"3"
|
||||||
|
"4"
|
||||||
|
];
|
||||||
|
primary = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "DVI-D-1";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
position = "3600x0";
|
||||||
|
workspaces = [
|
||||||
|
"5"
|
||||||
|
"6"
|
||||||
|
"7"
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,9 +33,6 @@
|
|||||||
networking.hostName = "kardorf";
|
networking.hostName = "kardorf";
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
||||||
# Not using the drivers leads to way better results
|
|
||||||
# services.xserver.videoDrivers = [ "nvidia" ];
|
|
||||||
|
|
||||||
programs.ausweisapp.enable = true;
|
programs.ausweisapp.enable = true;
|
||||||
programs.ausweisapp.openFirewall = true; # for pairing with smartphone
|
programs.ausweisapp.openFirewall = true; # for pairing with smartphone
|
||||||
|
|
||||||
@@ -46,8 +43,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager.insertNameservers = ["192.168.3.252"];
|
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,89 +1,59 @@
|
|||||||
# 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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
boot.initrd.availableKernelModules = [
|
imports = [
|
||||||
"ehci_pci"
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
"ahci"
|
|
||||||
"xhci_pci"
|
|
||||||
"usbhid"
|
|
||||||
"uas"
|
|
||||||
"usb_storage"
|
|
||||||
"sd_mod"
|
|
||||||
"sr_mod"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "sd_mod"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = ["kvm-intel"];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = ["subvol=root"];
|
||||||
"subvol=root"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home" = {
|
|
||||||
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [
|
|
||||||
"subvol=home"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = ["subvol=nix"];
|
||||||
"subvol=nix"
|
|
||||||
"compress=zstd"
|
|
||||||
"noatime"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/swap" = {
|
fileSystems."/swap" = {
|
||||||
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = ["subvol=swap"];
|
||||||
"subvol=swap"
|
};
|
||||||
"noatime"
|
|
||||||
];
|
fileSystems."/home" = {
|
||||||
|
device = "/dev/disk/by-uuid/97a9342e-0be0-4193-9a25-03400fc7da94";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = ["subvol=home"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot/efi" = {
|
fileSystems."/boot/efi" = {
|
||||||
device = "/dev/disk/by-uuid/7D48-A59C";
|
device = "/dev/disk/by-uuid/7D48-A59C";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
|
options = ["fmask=0022" "dmask=0022"];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [];
|
||||||
{
|
|
||||||
device = "/swap/swapfile";
|
|
||||||
size = 16 * 1024;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
# Use latest version of driver
|
|
||||||
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
|
|
||||||
hardware.nvidia.modesetting.enable = true; # produces errors, display manager fails to start
|
|
||||||
|
|
||||||
hardware.nvidia.nvidiaSettings = true;
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
hardware.nvidia.open = false;
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
|
open = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user