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
|
|
|
|
|
|
|
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 17:23:45 +00:00
|
|
|
file { 'Default applications configuration':
|
|
|
|
ensure => file,
|
|
|
|
mode => '0644',
|
|
|
|
path => '/usr/share/applications/defaults.list',
|
|
|
|
source => 'puppet:///modules/config/mimeapps.list'
|
|
|
|
}
|
|
|
|
|
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-01-08 22:03:10 +00:00
|
|
|
service { 'lightdm':
|
2017-12-25 22:48:55 +00:00
|
|
|
enable => false
|
|
|
|
}
|
|
|
|
|
2018-01-08 22:03:10 +00:00
|
|
|
-> service { 'gdm':
|
2017-12-25 22:48:55 +00:00
|
|
|
enable => true
|
|
|
|
}
|
2017-08-12 16:57:30 +01:00
|
|
|
}
|