Merge branch 'master' of github.com:Kropatz/dotfiles
This commit is contained in:
2
.config/plasma-localerc
Normal file
2
.config/plasma-localerc
Normal file
@@ -0,0 +1,2 @@
|
||||
[Formats]
|
||||
LANG=en_US.UTF-8
|
||||
458
.config/plasma-org.kde.plasma.desktop-appletsrc
Normal file
458
.config/plasma-org.kde.plasma.desktop-appletsrc
Normal file
@@ -0,0 +1,458 @@
|
||||
[ActionPlugins][0]
|
||||
MiddleButton;NoModifier=org.kde.paste
|
||||
RightButton;NoModifier=org.kde.contextmenu
|
||||
wheel:Vertical;NoModifier=org.kde.switchdesktop
|
||||
|
||||
[ActionPlugins][1]
|
||||
RightButton;NoModifier=org.kde.contextmenu
|
||||
|
||||
[Containments][130]
|
||||
ItemGeometries-2560x1440=
|
||||
ItemGeometriesHorizontal=
|
||||
activityId=6784e532-d567-43a5-965a-c229de33d941
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=0
|
||||
location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.slideshow
|
||||
|
||||
[Containments][130][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][130][General]
|
||||
ToolBoxButtonState=topcenter
|
||||
ToolBoxButtonX=697
|
||||
|
||||
[Containments][130][Wallpaper][org.kde.slideshow][General]
|
||||
Image=file:///home/kopatz/Nextcloud/dinge/Bg/AcademyWireframe_wide.jpg
|
||||
SlideInterval=18900
|
||||
SlidePaths=/home/kopatz/Nextcloud/dinge/Bg/
|
||||
|
||||
[Containments][131]
|
||||
ItemGeometries-1920x1080=
|
||||
ItemGeometriesHorizontal=
|
||||
activityId=6784e532-d567-43a5-965a-c229de33d941
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=1
|
||||
location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.slideshow
|
||||
|
||||
[Containments][131][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][131][Wallpaper][org.kde.slideshow][General]
|
||||
Image=file:///home/kopatz/Nextcloud/dinge/Bg/303695.jpg
|
||||
SlideInterval=18900
|
||||
SlidePaths=/home/kopatz/Nextcloud/dinge/Bg/
|
||||
|
||||
[Containments][132]
|
||||
activityId=
|
||||
formfactor=2
|
||||
immutability=1
|
||||
lastScreen=0
|
||||
location=4
|
||||
plugin=org.kde.panel
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][132][Applets][133]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.kickoff
|
||||
|
||||
[Containments][132][Applets][133][Configuration]
|
||||
PreloadWeight=100
|
||||
popupHeight=574
|
||||
popupWidth=729
|
||||
|
||||
[Containments][132][Applets][133][Configuration][General]
|
||||
favoritesPortedToKAstats=true
|
||||
|
||||
[Containments][132][Applets][133][Configuration][Shortcuts]
|
||||
global=Alt+F1
|
||||
|
||||
[Containments][132][Applets][134]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.pager
|
||||
|
||||
[Containments][132][Applets][135]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.icontasks
|
||||
|
||||
[Containments][132][Applets][135][Configuration][General]
|
||||
launchers=applications:systemsettings.desktop,preferred://filemanager,preferred://browser
|
||||
|
||||
[Containments][132][Applets][136]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.marginsseparator
|
||||
|
||||
[Containments][132][Applets][137]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemtray
|
||||
|
||||
[Containments][132][Applets][137][Configuration]
|
||||
PreloadWeight=55
|
||||
SystrayContainmentId=138
|
||||
|
||||
[Containments][132][Applets][149]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.digitalclock
|
||||
|
||||
[Containments][132][Applets][150]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.showdesktop
|
||||
|
||||
[Containments][132][Applets][179]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][179][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][179][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.piechart
|
||||
updateRateLimit=500
|
||||
|
||||
[Containments][132][Applets][179][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][132][Applets][179][Configuration][SensorColors]
|
||||
memory/physical/usedPercent=61,164,233
|
||||
|
||||
[Containments][132][Applets][179][Configuration][Sensors]
|
||||
highPrioritySensorIds=["memory/physical/usedPercent"]
|
||||
totalSensors=["memory/physical/usedPercent"]
|
||||
|
||||
[Containments][132][Applets][180]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][180][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][180][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.piechart
|
||||
updateRateLimit=500
|
||||
|
||||
[Containments][132][Applets][180][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][132][Applets][180][Configuration][SensorColors]
|
||||
cpu/all/averageTemperature=61,233,114
|
||||
|
||||
[Containments][132][Applets][180][Configuration][Sensors]
|
||||
highPrioritySensorIds=["cpu/all/averageTemperature"]
|
||||
totalSensors=["cpu/all/averageTemperature"]
|
||||
|
||||
[Containments][132][Applets][181]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][181][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][181][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.piechart
|
||||
updateRateLimit=500
|
||||
|
||||
[Containments][132][Applets][181][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][132][Applets][181][Configuration][SensorColors]
|
||||
cpu/all/usage=233,61,95
|
||||
|
||||
[Containments][132][Applets][181][Configuration][Sensors]
|
||||
highPrioritySensorIds=["cpu/all/usage"]
|
||||
totalSensors=["cpu/all/usage"]
|
||||
|
||||
[Containments][132][Applets][182]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][182][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][182][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.piechart
|
||||
updateRateLimit=1000
|
||||
|
||||
[Containments][132][Applets][182][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][132][Applets][182][Configuration][SensorColors]
|
||||
gpu/gpu0/temperature=85,61,233
|
||||
|
||||
[Containments][132][Applets][182][Configuration][Sensors]
|
||||
highPrioritySensorIds=["gpu/gpu0/temperature"]
|
||||
totalSensors=["gpu/gpu0/temperature"]
|
||||
|
||||
[Containments][132][Applets][183]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][183][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][132][Applets][183][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.piechart
|
||||
|
||||
[Containments][132][Applets][183][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][132][Applets][183][Configuration][SensorColors]
|
||||
gpu/all/usage=61,111,233
|
||||
gpu/gpu0/usage=233,173,61
|
||||
|
||||
[Containments][132][Applets][183][Configuration][Sensors]
|
||||
highPrioritySensorIds=["gpu/all/usage"]
|
||||
totalSensors=["gpu/all/usage"]
|
||||
|
||||
[Containments][132][Applets][185]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor.diskactivity
|
||||
|
||||
[Containments][132][Applets][185][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
PreloadWeight=55
|
||||
|
||||
[Containments][132][Applets][185][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.linechart
|
||||
title=Hard Disk Activity
|
||||
|
||||
[Containments][132][Applets][185][Configuration][SensorColors]
|
||||
disk/all/read=233,120,61
|
||||
disk/all/write=61,174,233
|
||||
|
||||
[Containments][132][Applets][185][Configuration][Sensors]
|
||||
highPrioritySensorIds=["disk/all/write","disk/all/read"]
|
||||
|
||||
[Containments][132][Applets][186]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor.net
|
||||
|
||||
[Containments][132][Applets][186][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
PreloadWeight=55
|
||||
|
||||
[Containments][132][Applets][186][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.linechart
|
||||
title=Network speed
|
||||
|
||||
[Containments][132][Applets][186][Configuration][SensorColors]
|
||||
network/all/download=61,174,233
|
||||
network/all/upload=233,120,61
|
||||
|
||||
[Containments][132][Applets][186][Configuration][Sensors]
|
||||
highPrioritySensorIds=["network/all/download","network/all/upload"]
|
||||
|
||||
[Containments][132][ConfigDialog]
|
||||
DialogHeight=93
|
||||
DialogWidth=2560
|
||||
|
||||
[Containments][132][General]
|
||||
AppletOrder=133;134;135;181;180;183;182;186;136;179;185;137;149;150
|
||||
|
||||
[Containments][138]
|
||||
activityId=
|
||||
formfactor=2
|
||||
immutability=1
|
||||
lastScreen=0
|
||||
location=4
|
||||
plugin=org.kde.plasma.private.systemtray
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][138][Applets][139]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.notifications
|
||||
|
||||
[Containments][138][Applets][140]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.clipboard
|
||||
|
||||
[Containments][138][Applets][141]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.manage-inputmethod
|
||||
|
||||
[Containments][138][Applets][142]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.devicenotifier
|
||||
|
||||
[Containments][138][Applets][143]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.printmanager
|
||||
|
||||
[Containments][138][Applets][144]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.volume
|
||||
|
||||
[Containments][138][Applets][144][Configuration][General]
|
||||
migrated=true
|
||||
|
||||
[Containments][138][Applets][145]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardlayout
|
||||
|
||||
[Containments][138][Applets][146]
|
||||
immutability=1
|
||||
plugin=org.kde.kdeconnect
|
||||
|
||||
[Containments][138][Applets][147]
|
||||
immutability=1
|
||||
plugin=org.kde.kscreen
|
||||
|
||||
[Containments][138][Applets][148]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardindicator
|
||||
|
||||
[Containments][138][Applets][151]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.nightcolorcontrol
|
||||
|
||||
[Containments][138][Applets][152]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.battery
|
||||
|
||||
[Containments][138][Applets][153]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.mediacontroller
|
||||
|
||||
[Containments][138][Applets][154]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.networkmanagement
|
||||
|
||||
[Containments][138][General]
|
||||
extraItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.notifications,org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.nightcolorcontrol,org.kde.plasma.printmanager,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardlayout,org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.keyboardindicator
|
||||
knownItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.notifications,org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.nightcolorcontrol,org.kde.plasma.printmanager,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardlayout,org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.keyboardindicator
|
||||
|
||||
[Containments][155]
|
||||
activityId=
|
||||
formfactor=2
|
||||
immutability=1
|
||||
lastScreen=1
|
||||
location=4
|
||||
plugin=org.kde.panel
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][155][Applets][156]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.kickoff
|
||||
|
||||
[Containments][155][Applets][156][Configuration][General]
|
||||
favoritesPortedToKAstats=true
|
||||
|
||||
[Containments][155][Applets][156][Configuration][Shortcuts]
|
||||
global=Alt+F1
|
||||
|
||||
[Containments][155][Applets][157]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.pager
|
||||
|
||||
[Containments][155][Applets][158]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.icontasks
|
||||
|
||||
[Containments][155][Applets][159]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.marginsseparator
|
||||
|
||||
[Containments][155][Applets][160]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemtray
|
||||
|
||||
[Containments][155][Applets][160][Configuration]
|
||||
PreloadWeight=55
|
||||
SystrayContainmentId=161
|
||||
|
||||
[Containments][155][Applets][172]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.digitalclock
|
||||
|
||||
[Containments][155][Applets][173]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.showdesktop
|
||||
|
||||
[Containments][155][General]
|
||||
AppletOrder=156;157;158;159;160;172;173
|
||||
|
||||
[Containments][161]
|
||||
activityId=
|
||||
formfactor=2
|
||||
immutability=1
|
||||
lastScreen=1
|
||||
location=4
|
||||
plugin=org.kde.plasma.private.systemtray
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][161][Applets][162]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.notifications
|
||||
|
||||
[Containments][161][Applets][163]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.clipboard
|
||||
|
||||
[Containments][161][Applets][164]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.manage-inputmethod
|
||||
|
||||
[Containments][161][Applets][165]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.devicenotifier
|
||||
|
||||
[Containments][161][Applets][166]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.printmanager
|
||||
|
||||
[Containments][161][Applets][167]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.volume
|
||||
|
||||
[Containments][161][Applets][167][Configuration][General]
|
||||
migrated=true
|
||||
|
||||
[Containments][161][Applets][168]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardlayout
|
||||
|
||||
[Containments][161][Applets][169]
|
||||
immutability=1
|
||||
plugin=org.kde.kdeconnect
|
||||
|
||||
[Containments][161][Applets][170]
|
||||
immutability=1
|
||||
plugin=org.kde.kscreen
|
||||
|
||||
[Containments][161][Applets][171]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardindicator
|
||||
|
||||
[Containments][161][Applets][174]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.nightcolorcontrol
|
||||
|
||||
[Containments][161][Applets][175]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.battery
|
||||
|
||||
[Containments][161][Applets][176]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.mediacontroller
|
||||
|
||||
[Containments][161][Applets][177]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.networkmanagement
|
||||
|
||||
[Containments][161][General]
|
||||
extraItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.notifications,org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.nightcolorcontrol,org.kde.plasma.printmanager,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardlayout,org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.keyboardindicator
|
||||
knownItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.notifications,org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.nightcolorcontrol,org.kde.plasma.printmanager,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardlayout,org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.keyboardindicator
|
||||
|
||||
[ScreenMapping]
|
||||
itemsOnDisabledScreens=
|
||||
12
.config/plasmanotifyrc
Normal file
12
.config/plasmanotifyrc
Normal file
@@ -0,0 +1,12 @@
|
||||
[Applications][brave-browser]
|
||||
Seen=true
|
||||
|
||||
[Applications][com.nextcloud.desktopclient.nextcloud]
|
||||
Seen=true
|
||||
ShowPopups=false
|
||||
|
||||
[Applications][discord]
|
||||
Seen=true
|
||||
|
||||
[Applications][thunderbird]
|
||||
Seen=true
|
||||
50
.config/plasmashellrc
Normal file
50
.config/plasmashellrc
Normal file
@@ -0,0 +1,50 @@
|
||||
[ActionsWidget]
|
||||
ColumnState=AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYwAAAACAQAAAQAAAAAAAAAAAAAAAHD/////AAAAgQAAAAAAAAACAAAA+gAAAAEAAAAAAAAAkgAAAAEAAAAAAAAD6AAAAABw
|
||||
|
||||
[ConfigDialog]
|
||||
2 screens: Height=550
|
||||
2 screens: Width=835
|
||||
|
||||
[FileDialogSize]
|
||||
2 screens: Height=606
|
||||
2 screens: Width=860
|
||||
|
||||
[General]
|
||||
Number of Actions=0
|
||||
|
||||
[PlasmaTransientsConfig]
|
||||
PreloadWeight=0
|
||||
|
||||
[PlasmaViews][Panel 107][Defaults]
|
||||
thickness=54
|
||||
|
||||
[PlasmaViews][Panel 132][Defaults]
|
||||
thickness=54
|
||||
|
||||
[PlasmaViews][Panel 155][Defaults]
|
||||
thickness=54
|
||||
|
||||
[PlasmaViews][Panel 3][Defaults]
|
||||
thickness=54
|
||||
|
||||
[PlasmaViews][Panel 34][Defaults]
|
||||
thickness=54
|
||||
|
||||
[PlasmaViews][Panel 63]
|
||||
alignment=132
|
||||
|
||||
[PlasmaViews][Panel 63][Defaults]
|
||||
maxLength=2346
|
||||
minLength=2346
|
||||
offset=0
|
||||
thickness=26
|
||||
|
||||
[PlasmaViews][Panel 63][Horizontal2560]
|
||||
maxLength=2346
|
||||
minLength=2346
|
||||
|
||||
[PlasmaViews][Panel 82][Defaults]
|
||||
thickness=54
|
||||
|
||||
[Updates]
|
||||
performed=/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js
|
||||
11
.config/plasmawindowed-appletsrc
Normal file
11
.config/plasmawindowed-appletsrc
Normal file
@@ -0,0 +1,11 @@
|
||||
[ActionPlugins][0]
|
||||
MiddleButton;NoModifier=org.kde.paste
|
||||
RightButton;NoModifier=org.kde.contextmenu
|
||||
wheel:Vertical;NoModifier=org.kde.switchdesktop
|
||||
|
||||
[Containments][2]
|
||||
activityId=
|
||||
formfactor=4
|
||||
lastScreen=-1
|
||||
location=0
|
||||
wallpaperplugin=org.kde.image
|
||||
11
.config/plasmawindowedrc
Normal file
11
.config/plasmawindowedrc
Normal file
@@ -0,0 +1,11 @@
|
||||
[Applets][3]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.calendar
|
||||
|
||||
[Applets][3][Configuration]
|
||||
PreloadWeight=42
|
||||
geometry=2787,531,462,308
|
||||
|
||||
[Applets][3][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
@@ -18,6 +18,13 @@
|
||||
lg = !"git lg1"
|
||||
[color]
|
||||
ui = true
|
||||
[mergetool]
|
||||
keeptemporaries = false
|
||||
keepbackups = false
|
||||
prompt = false
|
||||
trustexitcode = false
|
||||
[pull]
|
||||
ff = true
|
||||
|
||||
[includeIf "gitdir/i:~/projects/github/**"]
|
||||
path = .gitconfig-github
|
||||
@@ -25,3 +32,5 @@
|
||||
path = .gitconfig-gitea
|
||||
[includeIf "gitdir/i:~/projects/fh/**"]
|
||||
path = .gitconfig-gitlabfh
|
||||
[includeIf "gitdir/i:~/projects/evolit/**"]
|
||||
path = .gitconfig-evolit
|
||||
|
||||
3
.gitconfig-evolit
Normal file
3
.gitconfig-evolit
Normal file
@@ -0,0 +1,3 @@
|
||||
[user]
|
||||
name = Lukas Kopatz
|
||||
email = lukas.kopatz@evolit.com
|
||||
16
flake.lock
generated
16
flake.lock
generated
@@ -104,16 +104,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1695108154,
|
||||
"narHash": "sha256-gSg7UTVtls2yO9lKtP0yb66XBHT1Fx5qZSZbGMpSn2c=",
|
||||
"lastModified": 1700814205,
|
||||
"narHash": "sha256-lWqDPKHRbQfi+zNIivf031BUeyciVOtwCwTjyrhDB5g=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "07682fff75d41f18327a871088d20af2710d4744",
|
||||
"rev": "aeb2232d7a32530d3448318790534d196bf9427a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.05",
|
||||
"ref": "release-23.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -223,16 +223,16 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1699110214,
|
||||
"narHash": "sha256-L2TU4RgtiqF69W8Gacg2jEkEYJrW+Kp0Mp4plwQh5b8=",
|
||||
"lastModified": 1700671922,
|
||||
"narHash": "sha256-XPh/AHD14O+oaztjSb53c3Gh9K1JQHNBOTdn0dvtJpM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "78f3a4ae19f0e99d5323dd2e3853916b8ee4afee",
|
||||
"rev": "4784a12198f7434971d5bb8aa6f111acef662ff4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-23.05",
|
||||
"ref": "nixos-23.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
37
flake.nix
37
flake.nix
@@ -3,11 +3,11 @@
|
||||
inputs = {
|
||||
# secrets management
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
url = "github:nix-community/home-manager/release-23.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixos-wsl = {
|
||||
@@ -49,7 +49,7 @@
|
||||
./modules/motd.nix
|
||||
./modules/postgres.nix
|
||||
./modules/fail2ban.nix
|
||||
./modules/nix-settings.nix
|
||||
./modules/nix/settings.nix
|
||||
./modules/adguard.nix
|
||||
./modules/git.nix
|
||||
./modules/github-runner.nix
|
||||
@@ -67,6 +67,9 @@
|
||||
./modules/paperless.nix
|
||||
./modules/kavita.nix
|
||||
./modules/netdata.nix
|
||||
./modules/tmpfs.nix
|
||||
### Hardware ###
|
||||
./modules/hardware/ssd.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
agenix.nixosModules.default
|
||||
{
|
||||
@@ -85,6 +88,32 @@
|
||||
inherit inputs ;
|
||||
};
|
||||
};
|
||||
nixosConfigurations."kop-pc" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs ;
|
||||
};
|
||||
modules = [
|
||||
./users/kopatz.nix
|
||||
./modules/graphical/plasma.nix
|
||||
./modules/graphical/shared.nix
|
||||
./modules/hardware/ssd.nix
|
||||
./modules/nix/settings.nix
|
||||
./modules/nix/index.nix
|
||||
./modules/nix/ld.nix
|
||||
./modules/gpg.nix
|
||||
./modules/virt-manager.nix
|
||||
./modules/flatpak.nix
|
||||
./modules/noise-supression.nix
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
./modules/wooting.nix
|
||||
./modules/tmpfs.nix
|
||||
./modules/support/ntfs.nix
|
||||
./systems/pc/configuration.nix
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
nixosConfigurations."nix-laptop" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
@@ -95,6 +124,7 @@
|
||||
modules = [
|
||||
./users/kopatz.nix
|
||||
# Todo: refactor file layout
|
||||
./modules/graphical/gnome.nix
|
||||
./laptop/configuration.nix
|
||||
./modules/virt-manager.nix
|
||||
./modules/ssh.nix
|
||||
@@ -103,6 +133,7 @@
|
||||
#./modules/wake-on-lan.nix
|
||||
./modules/thunderbolt.nix
|
||||
./modules/rdp.nix
|
||||
./modules/tmpfs.nix
|
||||
nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/b90bb1c8-922d-45b4-b911-74c37dca2ed3";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ config, pkgs, inputs, vars, ... }:
|
||||
let
|
||||
ip = vars.ipv4;
|
||||
wireguardIp = vars.wireguardIp;
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
@@ -9,6 +10,7 @@ in
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
schema_version = 20;
|
||||
users = [
|
||||
{
|
||||
name = "admin";
|
||||
@@ -16,7 +18,7 @@ in
|
||||
}
|
||||
];
|
||||
dns = {
|
||||
bind_hosts = [ "127.0.0.1" "${ip}" ]; # "192.168.2.1" ];
|
||||
bind_hosts = [ "127.0.0.1" ip wireguardIp ];
|
||||
port = 53;
|
||||
protection_enabled = true;
|
||||
filtering_enabled = true;
|
||||
|
||||
3
modules/flatpak.nix
Normal file
3
modules/flatpak.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
services.flatpak.enable = true;
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
users.groups.github-actions-runner = {};
|
||||
users.users.github-actions-runner = {
|
||||
isSystemUser = true;
|
||||
passwordFile = config.age.secrets.github-runner-pw.path;
|
||||
hashedPasswordFile = config.age.secrets.github-runner-pw.path;
|
||||
group = "github-actions-runner";
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
|
||||
13
modules/gpg.nix
Normal file
13
modules/gpg.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
#services.pcscd.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "qt";
|
||||
};
|
||||
#environment.systemPackages = with pkgs; [
|
||||
# pinentry-curses
|
||||
# ];
|
||||
}
|
||||
59
modules/graphical/gnome.nix
Normal file
59
modules/graphical/gnome.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver = {
|
||||
layout = "at";
|
||||
xkbVariant = "";
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
environment.gnome.excludePackages = (with pkgs; [
|
||||
gnome-photos
|
||||
gnome-tour
|
||||
]) ++ (with pkgs.gnome; [
|
||||
cheese # webcam tool
|
||||
gnome-music
|
||||
gnome-terminal
|
||||
gedit # text editor
|
||||
epiphany # web browser
|
||||
#geary # email reader
|
||||
evince # document viewer
|
||||
gnome-characters
|
||||
totem # video player
|
||||
tali # poker game
|
||||
iagno # go game
|
||||
hitori # sudoku game
|
||||
atomix # puzzle game
|
||||
]);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wmctrl
|
||||
gnome.mutter
|
||||
gnome.adwaita-icon-theme
|
||||
gnome.gnome-settings-daemon
|
||||
gnome.gnome-tweaks
|
||||
gnome.dconf-editor
|
||||
gruvbox-gtk-theme
|
||||
colloid-icon-theme
|
||||
gnomeExtensions.appindicator
|
||||
gnomeExtensions.just-perfection
|
||||
gnomeExtensions.system-monitor
|
||||
gnomeExtensions.dash2dock-lite
|
||||
gnomeExtensions.dash-to-dock
|
||||
gnomeExtensions.vitals
|
||||
gnomeExtensions.rounded-window-corners
|
||||
gnomeExtensions.wallpaper-switcher
|
||||
gnomeExtensions.backslide
|
||||
gnomeExtensions.nextcloud-folder
|
||||
gnomeExtensions.tray-icons-reloaded
|
||||
gnomeExtensions.blur-my-shell
|
||||
];
|
||||
}
|
||||
11
modules/graphical/plasma.nix
Normal file
11
modules/graphical/plasma.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver = {
|
||||
layout = "at";
|
||||
xkbVariant = "";
|
||||
enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
}
|
||||
90
modules/graphical/shared.nix
Normal file
90
modules/graphical/shared.nix
Normal file
@@ -0,0 +1,90 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
keepassWithPlugins = pkgs.keepass.override {
|
||||
plugins = [
|
||||
pkgs.keepass-keepassrpc
|
||||
];
|
||||
};
|
||||
screenshot = pkgs.writeShellScriptBin "screenshot.sh" ''
|
||||
${pkgs.scrot}/bin/scrot -fs - | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png -i
|
||||
'';
|
||||
in
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
fonts.fontDir.enable = true;
|
||||
fonts.fonts = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
wget
|
||||
nixos-option
|
||||
kate
|
||||
keepassWithPlugins
|
||||
jetbrains.idea-ultimate
|
||||
jetbrains.rider
|
||||
dotnet-sdk_7
|
||||
dotnet-runtime_7
|
||||
neovim
|
||||
htop
|
||||
btop
|
||||
git
|
||||
xfce.thunar
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
bun
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
insomnia
|
||||
remmina
|
||||
nextcloud-client
|
||||
#podman-compose
|
||||
#arion # docker
|
||||
neofetch
|
||||
thunderbird
|
||||
rofi
|
||||
pdfgrep
|
||||
taisei
|
||||
ncdu
|
||||
localsend
|
||||
element-desktop
|
||||
tetrio-desktop
|
||||
krita
|
||||
unstable.libreoffice-fresh
|
||||
mangohud
|
||||
screenshot
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||
};
|
||||
|
||||
### docker
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
3
modules/hardware/ssd.nix
Normal file
3
modules/hardware/ssd.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
services.fstrim.enable = true;
|
||||
}
|
||||
@@ -64,12 +64,13 @@ in
|
||||
spreed = pkgs.fetchNextcloudApp rec {
|
||||
url = "https://github.com/nextcloud-releases/spreed/releases/download/v17.1.1/spreed-v17.1.1.tar.gz";
|
||||
sha256 = "sha256-LaUG0maatc2YtWQjff7J54vadQ2RE4X6FcW8vFefBh8=";
|
||||
license = "agpl3";
|
||||
};
|
||||
};
|
||||
|
||||
phpOptions = {
|
||||
upload_max_filesize = "5G";
|
||||
post_max_size = "5G";
|
||||
upload_max_filesize = lib.mkForce "5G";
|
||||
post_max_size = lib.mkForce "5G";
|
||||
};
|
||||
extraAppsEnable = true;
|
||||
extraOptions.enabledPreviewProviders = [
|
||||
|
||||
@@ -52,10 +52,29 @@
|
||||
'';
|
||||
proxyPass = "http://127.0.0.1:8080";
|
||||
};
|
||||
#locations."~/books(.*)$" = {
|
||||
|
||||
#locations."~/books(.*)$" = {
|
||||
# proxyPass = "http://127.0.0.1:5000";
|
||||
#};
|
||||
};
|
||||
#discord bot for tracking useractivity public version
|
||||
"activitytracker.site" = {
|
||||
#serverAliases = [
|
||||
# "localhost"
|
||||
#];
|
||||
root = "/data/website";
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/tracker-site-public" = {
|
||||
tryFiles = "$uri $uri/ /tracker-site-public/index.html =404";
|
||||
};
|
||||
locations."/api" = {
|
||||
extraConfig =''
|
||||
rewrite /api/(.*) /$1 break;
|
||||
'';
|
||||
proxyPass = "http://127.0.0.1:8081";
|
||||
};
|
||||
};
|
||||
"adguard.local" = {
|
||||
locations."/".proxyPass = "http://127.0.0.1:3000";
|
||||
};
|
||||
|
||||
7
modules/nix/index.nix
Normal file
7
modules/nix/index.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableZshIntegration=true;
|
||||
};
|
||||
}
|
||||
3
modules/nix/ld.nix
Normal file
3
modules/nix/ld.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.nix-ld.enable = true;
|
||||
}
|
||||
3
modules/noise-supression.nix
Normal file
3
modules/noise-supression.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.noisetorch.enable = true;
|
||||
}
|
||||
3
modules/support/ntfs.nix
Normal file
3
modules/support/ntfs.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
}
|
||||
3
modules/tmpfs.nix
Normal file
3
modules/tmpfs.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
boot.tmp.useTmpfs = true;
|
||||
}
|
||||
31
modules/wooting.nix
Normal file
31
modules/wooting.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ pkgs, lib, ...}:
|
||||
let
|
||||
wooting-udev = pkgs.stdenv.mkDerivation rec {
|
||||
pname = "wooting-udev-rules";
|
||||
version = "unstable-2023-03-31";
|
||||
|
||||
# Source: https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/
|
||||
src = [ ./wooting.rules ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/";
|
||||
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
|
||||
platforms = platforms.linux;
|
||||
license = "unknown";
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
services.udev.packages = [ wooting-udev ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wootility
|
||||
];
|
||||
}
|
||||
12
modules/wooting.rules
Normal file
12
modules/wooting.rules
Normal file
@@ -0,0 +1,12 @@
|
||||
# Wooting Two HE (ARM)
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1230", MODE:="0666", GROUP="input"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1230", MODE:="0666", GROUP="input"
|
||||
# Wooting Two HE Alt-gamepad mode
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1231", MODE:="0666", GROUP="input"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1231", MODE:="0666", GROUP="input"
|
||||
# Wooting Two HE 2nd Alt-gamepad mode
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1232", MODE:="0666", GROUP="input"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1232", MODE:="0666", GROUP="input"
|
||||
|
||||
# Wooting Two HE (ARM) update mode
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="123f", MODE:="0666", GROUP="input"
|
||||
Binary file not shown.
132
systems/pc/configuration.nix
Normal file
132
systems/pc/configuration.nix
Normal file
@@ -0,0 +1,132 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Enable OpenGL
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
# Modesetting is required.
|
||||
modesetting.enable = true;
|
||||
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
||||
powerManagement.enable = false;
|
||||
# Fine-grained power management. Turns off GPU when not in use.
|
||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
powerManagement.finegrained = false;
|
||||
# Use the NVidia open source kernel module (not to be confused with the
|
||||
# independent third-party "nouveau" open source driver).
|
||||
# Support is limited to the Turing and later architectures. Full list of
|
||||
# supported GPUs is at:
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||
# Only available from driver 515.43.04+
|
||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||
open = false;
|
||||
# Enable the Nvidia settings menu,
|
||||
# accessible via `nvidia-settings`.
|
||||
nvidiaSettings = true;
|
||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
networking.hostName = "kop-pc"; # Define your hostname.
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
boot.initrd.systemd.network.wait-online.enable = false;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
#disable firewall when doing ipv6 vm stuff
|
||||
#networking.firewall.enable = lib.mkForce false;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_AT.UTF-8";
|
||||
LC_IDENTIFICATION = "de_AT.UTF-8";
|
||||
LC_MEASUREMENT = "de_AT.UTF-8";
|
||||
LC_MONETARY = "de_AT.UTF-8";
|
||||
LC_NAME = "de_AT.UTF-8";
|
||||
LC_NUMERIC = "de_AT.UTF-8";
|
||||
LC_PAPER = "de_AT.UTF-8";
|
||||
LC_TELEPHONE = "de_AT.UTF-8";
|
||||
LC_TIME = "de_AT.UTF-8";
|
||||
};
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
layout = lib.mkForce "de";
|
||||
xkbVariant = lib.mkForce "us";
|
||||
};
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "de";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Enable automatic login for the user.
|
||||
services.xserver.displayManager.autoLogin.enable = true;
|
||||
services.xserver.displayManager.autoLogin.user = "kopatz";
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
41
systems/pc/hardware-configuration.nix
Normal file
41
systems/pc/hardware-configuration.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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 + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/dd65bdf8-c003-439c-a1aa-d050cb20959d";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/5AA5-45E0";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
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
|
||||
# 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.enp42s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
@@ -16,6 +16,10 @@
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/1af836fb-ffef-4362-84af-bcb24d4db068";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
@@ -42,7 +46,7 @@
|
||||
fileSystems."/mnt/250ssd" =
|
||||
{ device = "/dev/disk/by-uuid/80163cf9-2030-4757-ada2-03db96184961";
|
||||
fsType = "ext4";
|
||||
options = ["defaults" "nofail"];
|
||||
options = ["defaults" "nofail" "noatime"];
|
||||
};
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
||||
@@ -17,6 +17,11 @@ in
|
||||
useUserPackages = true;
|
||||
users.${user} = {
|
||||
programs.git.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
@@ -33,6 +33,12 @@ in
|
||||
theme = "eastwood";
|
||||
};
|
||||
};
|
||||
programs.git.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
home.stateVersion = "23.05";
|
||||
};
|
||||
};
|
||||
@@ -47,6 +53,7 @@ in
|
||||
(discord.override { withVencord = true; })
|
||||
librewolf
|
||||
ungoogled-chromium
|
||||
brave
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFeP6qtVqE/gu72ZUZE8cdRi3INiUW9NqDR7SjXIzTw2 lukas"
|
||||
|
||||
Reference in New Issue
Block a user