2017-08-12 16:57:30 +01:00
|
|
|
class config {
|
|
|
|
include 'config::vim'
|
2017-08-12 18:59:43 +01:00
|
|
|
include 'config::fonts'
|
2017-10-08 20:07:51 +01:00
|
|
|
include 'config::private'
|
2018-02-19 13:39:25 +00:00
|
|
|
include 'config::vscode'
|
2017-08-12 16:57:30 +01:00
|
|
|
|
2017-10-19 20:49:41 +01:00
|
|
|
file { 'Touchpad gestures config':
|
2017-08-12 16:57:30 +01:00
|
|
|
ensure => file,
|
2017-10-08 18:52:37 +01:00
|
|
|
mode => '0644',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/etc/libinput-gestures.conf',
|
2017-08-12 16:57:30 +01:00
|
|
|
source => 'puppet:///modules/config/libinput-gestures.conf'
|
|
|
|
}
|
|
|
|
|
2017-11-06 20:13:47 +00:00
|
|
|
file { 'Terminator config directory':
|
|
|
|
ensure => directory,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/terminator'
|
2017-12-18 00:35:04 +00:00
|
|
|
}
|
|
|
|
-> file { 'Terminator config':
|
2017-08-12 16:57:30 +01:00
|
|
|
ensure => file,
|
2017-10-08 18:52:37 +01:00
|
|
|
mode => '0644',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/home/jake/.config/terminator/config',
|
2017-08-12 16:57:30 +01:00
|
|
|
source => 'puppet:///modules/config/terminator.conf'
|
|
|
|
}
|
|
|
|
|
2017-11-06 20:13:47 +00:00
|
|
|
file { 'Uniemoji config directory':
|
|
|
|
ensure => directory,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/uniemoji'
|
2017-12-18 00:35:04 +00:00
|
|
|
}
|
|
|
|
-> file { 'Uniemoji config':
|
2017-08-12 16:57:30 +01:00
|
|
|
ensure => file,
|
2017-10-08 18:52:37 +01:00
|
|
|
mode => '0644',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/home/jake/.config/uniemoji/custom.json',
|
2017-08-12 16:57:30 +01:00
|
|
|
source => 'puppet:///modules/config/uniemoji.json'
|
|
|
|
}
|
2017-10-08 19:55:06 +01:00
|
|
|
|
2017-10-19 20:49:41 +01:00
|
|
|
file { 'Install SSH config':
|
2017-10-08 19:55:06 +01:00
|
|
|
ensure => file,
|
|
|
|
mode => '0644',
|
|
|
|
owner => 'jake',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/home/jake/.ssh/assh.yml',
|
2017-10-08 19:55:06 +01:00
|
|
|
source => 'puppet:///modules/config/assh.yml'
|
|
|
|
}
|
2017-10-19 20:49:41 +01:00
|
|
|
|
|
|
|
file { 'Install global gitignore':
|
|
|
|
ensure => file,
|
2017-10-19 21:42:18 +01:00
|
|
|
path => '/home/jake/.config/.gitignore',
|
2017-10-19 20:49:41 +01:00
|
|
|
mode => '0644',
|
|
|
|
source => 'puppet:///modules/config/gitignore_global'
|
|
|
|
}
|
2017-12-18 00:32:10 +00:00
|
|
|
|
2018-03-31 18:13:48 +01:00
|
|
|
file { 'Git config':
|
|
|
|
ensure => file,
|
|
|
|
path => '/home/jake/.gitconfig',
|
|
|
|
mode => '0644',
|
|
|
|
owner => 'jake',
|
|
|
|
group => 'users',
|
|
|
|
content => template('config/gitconfig.conf.erb')
|
|
|
|
}
|
|
|
|
|
2017-12-18 00:32:10 +00:00
|
|
|
file { 'Rofi config directory':
|
|
|
|
ensure => directory,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/rofi'
|
2017-12-18 00:35:04 +00:00
|
|
|
}
|
|
|
|
-> file { 'Rofi config':
|
2017-12-18 00:32:10 +00:00
|
|
|
ensure => file,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/rofi/config',
|
|
|
|
source => 'puppet:///modules/config/rofi.conf'
|
|
|
|
}
|
2017-12-25 22:48:55 +00:00
|
|
|
|
2018-03-04 12:31:51 +00:00
|
|
|
file { 'Touchpad configuration':
|
|
|
|
ensure => file,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/usr/share/X11/xorg.conf.d/30-touchpad.conf',
|
|
|
|
source => 'puppet:///modules/config/touchpad.conf'
|
|
|
|
}
|
|
|
|
|
2018-03-04 21:14:00 +00:00
|
|
|
file { 'Caret config directory':
|
|
|
|
ensure => directory,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/Caret'
|
|
|
|
}
|
|
|
|
-> file { 'Caret configuration file':
|
|
|
|
ensure => file,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/home/jake/.config/Caret/Preferences.md',
|
|
|
|
source => 'puppet:///modules/config/caret-preferences.md'
|
|
|
|
}
|
2018-05-17 09:28:23 +01:00
|
|
|
|
|
|
|
file { 'Tilix file temporary location':
|
|
|
|
ensure => file,
|
|
|
|
path => '/tmp/tilix.conf',
|
|
|
|
source => 'puppet:///modules/config/tilix.conf'
|
|
|
|
}
|
|
|
|
-> exec { 'Load Tilix config':
|
|
|
|
command => 'dconf load /etc/gexperts/Tilix/ < /tmp/tilix.conf',
|
|
|
|
user => 'jake'
|
|
|
|
}
|
2018-06-22 22:36:40 +01:00
|
|
|
|
|
|
|
file { 'Alacritty config':
|
|
|
|
ensure => file,
|
|
|
|
owner => 'jake',
|
|
|
|
path => '/home/jake/.config/alacritty/alacritty.yml',
|
|
|
|
source => 'puppet:///modules/config/alacritty.yml'
|
|
|
|
}
|
2017-08-12 16:57:30 +01:00
|
|
|
}
|